deef99 0 Posted May 25, 2010 We have the following: #include <IE.au3> dim $mvdn dim $mani $mvdn = $CMDLINE[1] $mani = $CMDLINE[2] _IECreate ("http://drs.front.com/orderentry/ipagent_answer.aspx?vdn="&$mvdn&"&ani="&$mani,0,1,0,1) Sleep(6000) Run("C:\avtimer\talktimer.exe") --------------------- The $mvdn has spaces in it, and even with double quotes is not getting picked up correctly. Is there another way to do a request query string? The command line for the above reads: test.exe %v %m Normally, this line is executed by itself: http://drs.front.com/orderentry/ipagent_answer.aspx?vdn=%v&ani=%m We have having to start another app, so we are trying to combine the two into an Auto It executable. Any ideas? We are stumped at this point! Share this post Link to post Share on other sites
Affe 1 Posted May 25, 2010 (edited) We have the following: #include <IE.au3> dim $mvdn dim $mani $mvdn = $CMDLINE[1] $mani = $CMDLINE[2] _IECreate ("http://drs.front.com/orderentry/ipagent_answer.aspx?vdn="&$mvdn&"&ani="&$mani,0,1,0,1) Sleep(6000) Run("C:\avtimer\talktimer.exe") --------------------- The $mvdn has spaces in it, and even with double quotes is not getting picked up correctly. Is there another way to do a request query string? The command line for the above reads: test.exe %v %m Normally, this line is executed by itself: http://drs.front.com/orderentry/ipagent_answer.aspx?vdn=%v&ani=%m We have having to start another app, so we are trying to combine the two into an Auto It executable. Any ideas? We are stumped at this point! Have you tried looking at the $CMDLINE array? I'm thinking that your variables are being split up in the array. To test this theory, change to the following: #include <Array.au3> ;Added for testing #include <IE.au3> _ArrayDisplay($CMDLINE) ;Added for testing Exit ;Exit after displaying the array for testing dim $mvdn dim $mani $mvdn = $CMDLINE[1] $mani = $CMDLINE[2] _IECreate ("http://drs.front.com/orderentry/ipagent_answer.aspx?vdn="&$mvdn&"&ani="&$mani,0,1,0,1) Sleep(6000) Run("C:\avtimer\talktimer.exe") If they are indeed being split up, then you simply need to concatenate them: dim $mvdn dim $mani $mvdn = Str($CMDLINE[1] & " " & $CMDLINE[2]) $mani = $CMDLINE[3] Edited May 25, 2010 by Affe [center][/center] Share this post Link to post Share on other sites
deef99 0 Posted May 25, 2010 DUH!!!! Ok...thank you so much! Share this post Link to post Share on other sites