issue passing variables

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Posts: 13
Joined: Wed Oct 03, 2007 12:39 am

issue passing variables

Post by jayv » Wed Oct 03, 2007 12:49 am

i am new to iMacros so it may be something i am doing wrong, but when i try to pass in variables via the command line to my script, the variables don't seem to populate. I am using the free version for now - could this be a limitation of the free version?? or have i got the syntax all messed up?

version 6.00 - imacros browser build 261 (trial version)

example command line call...
imacros -macro test -var_IP

example script...
URL GOTO=http://{{!IP}}/login.asp

User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm

Post by Tech Support » Wed Oct 03, 2007 9:48 pm

The exclamation mark ! is reserved for built-in variables. So if you use -var_IP than please use {{IP}} in macro.
Post Reply