changing script path

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
jayv
Posts: 13
Joined: Wed Oct 03, 2007 12:39 am

changing script path

Post by jayv » Thu Oct 11, 2007 5:07 pm

when using iimPlay, how do I set the path to my iim script if it resides someone other than the default script directory? I tried something like..

s = m.iimPlay("D:\\My_Scripts\\CallPilot_Reset_Script", sTimeout);
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Tue Oct 16, 2007 10:10 pm

There are two options:

1. Use iimPlay with the full path. In this case you must include the .iim file extension, too:

iimPlay ("c:\yourpath\yourmacro.iim", 60)

2. Send the macro directly from your script using iimPlay ("CODE:...your macro here") Example Script
Post Reply