Jump to content
Macro Express Forums

Wilm

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Wilm

  1. I don't have Win 7 but I expect the dialog is roughly similar to my XP Pro which looks like this:

     

    DecimalSeparator.jpg

     

    So, as Kevin says, I'd think it would just be a matter of terminating ME Pro, ensuring the separator is specified as a comma in your Win 7 Control Panel dialog (using Customize if necessary, as in my screenshot), and then re-starting ME Pro.

     

    --

    Terry, East Grinstead, UK

     

     

     

    I tried this again and now it worked.

     

     

    Thanks !!!

  2. Welcome to the forum, Wilm.

     

    I'm not clear what you mean. Are you saying that you had ME Pro (or ME3?) running under another OS with macros using a comma as decimal separator which worked fine? But these no longer work under Win 7?

     

    Perhaps you could post a small example, and attach the MEX file.

     

    --

    Terry, East Grinstead, UK

     

     

    Yes Terry,

     

    I was using ME pro on a xp machine and installed it now on my new win7 machine.

    The xp machine was configured in time and date settings to use a , as decimal sign.

    Now i installed ME pro in my win7 machine. In first instance i forgot to set de , as decimal sign

    in windows so i changed that after i installed ME pro. But ME keeps using a . as decimal sign.

    For example if i convert text string "7,5" to decimal i get 75.

     

     

    Wilm

  3. Hey all,

     

    i have a pdf with 1 emailadres in its text.

    Now i want to store that mailadres in a variable but in silent mode.

     

    First i use the 'program launch' command and some parameters

    to convert the pdf to a textfile. And then store the contents of that file to variable %T[1]%

     

    Now i want to get that mailadres into a variable.

     

    I thought of some ways to do that, for example to split string the text and then something like

    IF

    %txt[1] contains @

    set VAR %mail% to %txt%[1]%

    END IF

     

    But i think this is not the easiest way to do this.

     

     

    Who can help me ?

     

     

     

    Greetings, Wilm

  4. Hi ,

     

     

    He's an example of a HTA file i use to get multiple user input.

     

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    <HTML><HEAD><TITLE>ONDERDELEN</TITLE>

    <META content="text/html; charset=unicode" http-equiv=Content-Type>

    <META content=0 http-equiv=Expires><HTA:APPLICATION id=ExampleHTA scroll="no"

    maximizeButton="yes" minimizeButton="yes" border="thin" singleInstance="yes" />

    <script language=VBScript>

     

    Sub Window_onLoad

    window.resizeTo 310,520

    window.offscreenBuffering = false

    window.moveTo 370,100

    End Sub

     

     

    Sub SaveData

    Set objFSO = CreateObject("Scripting.FileSystemObject")

     

     

    Set objFile = objFSO.CreateTextFile("C:\Scripts\onderdeel.tsv")

    strLine = "aantal1 " & aantal1.Value & " " & "onderdeel1 " & onderdeel1.Value & " " & "aantal2 " & _

    aantal2.Value & " " & "onderdeel2 " & onderdeel2.Value & " " & "aantal3 " & aantal3.Value & " " &"onderdeel3 "& onderdeel3.Value & " " & "prijsopgave " & prijsopgave.Value

    objFile.WriteLine strLine

    objFile.Close

    window.Close

    End Sub

    </SCRIPT>

     

    <META name=GENERATOR content="MSHTML 8.00.6001.18876"></HEAD>

    <BODY style="FILTER: progid:DXImageTransform.Microsoft.Gradient

    (GradientType=1, StartColorStr='#330000', EndColorStr='#CC0033'); FONT: 14pt arial; COLOR: white"><BR>                    

           <FONT size=1>Onderdeel

    1</FONT>   <BR>      <SELECT

    name=aantal1> <OPTION selected value=1>1</OPTION> <OPTION value=2>2</OPTION>

    <OPTION value=3>3</OPTION> <OPTION value=4>4</OPTION> <OPTION

    value=5>5</OPTION> <OPTION value=6>6</OPTION> <OPTION value=7>7</OPTION>

    <OPTION value=8>8</OPTION> <OPTION value=9>9</OPTION> <OPTION

    value=10>10</OPTION></SELECT>     <INPUT maxLength=20

    name=onderdeel1> <BR><BR><FONT

    size=1>                                          

       Onderdeel 2</FONT><BR>      <SELECT

    name=aantal2> <OPTION selected value=1>1</OPTION> <OPTION value=2>2</OPTION>

    <OPTION value=3>3</OPTION> <OPTION value=4>4</OPTION> <OPTION

    value=5>5</OPTION> <OPTION value=6>6</OPTION> <OPTION value=7>7</OPTION>

    <OPTION value=8>8</OPTION> <OPTION value=9>9</OPTION> <OPTION

    value=10>10</OPTION></SELECT>     <INPUT maxLength=20

    name=onderdeel2> <BR><BR><FONT

    size=1>                                    

           

     Onderdeel 3</FONT><BR>      <SELECT

    name=aantal3> <OPTION selected value=1>1</OPTION> <OPTION value=2>2</OPTION>

    <OPTION value=3>3</OPTION> <OPTION value=4>4</OPTION> <OPTION

    value=5>5</OPTION> <OPTION value=6>6</OPTION> <OPTION value=7>7</OPTION>

    <OPTION value=8>8</OPTION> <OPTION value=9>9</OPTION> <OPTION

    value=10>10</OPTION></SELECT>     <INPUT maxLength=20

    name=onderdeel3> <BR><BR>                      <FONT

    size=1>Prijsopave ?</FONT>      <SELECT

    name=prijsopgave> <OPTION value=Ja>Ja</OPTION> <OPTION selected

    value=Nee>Nee</OPTION></SELECT> <BR><BR><BR></SELECT>               

      

    <INPUT onclick=SaveData value=Verzenden type=submit name=clickme><BR>   <BR>                 

              <BR><font size="1" face="Arial"><font size="1"></font>Gebruik de 'TAB' toets om naar het volgende veld te gaan.</font>

    </BODY></HTML>

     

     

     

    Greetings,

     

     

    Wilm

×
×
  • Create New...