Jump to content
Macro Express Forums

Wilm

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Wilm

  1. I tried this again and now it worked. Thanks !!!
  2. 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. Hi all, I just installed MEP on my new win 7 pc. Now all macros with some math in it dont work anymore because MEP uses a . as decimal sign. And all of my old macros use a , as decimal sign. I already set windows to use a , as decimal sign but this doesnt work for me. Any sugestions ? Greetings, Wilm
  4. Thanks for your inputs ! This was the sort of code i was looking for Wilm
  5. 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
  6. When a user should not use that many characters, the area where to put the choice text/variable should not be as large as it now is.
  7. Hi all , When i add a long variable as a choice in a multiple choic menu, only the first 40 and a half chars of the text variable are displayed. Anybody who experienced this case ? Greetings, Wilm
  8. 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...