Starting a javascript program from iimplay ?

Discussions and Tech Support specific to the iMacros Firefox add-on.
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
att
Posts: 24
Joined: Tue Aug 19, 2008 2:22 pm

Starting a javascript program from iimplay ?

Post by att » Thu May 28, 2009 12:38 am

I've tried iimPlay("1.js", 120); from C# to call the program “1.js” and it works !

The question is how do I pass variable into the javascript program ?
Any help would be appreciated :)
ATT
How to configure Cisco Routers
www.ittrainingexpert.info
Hannes, Tech Support

Re: Starting a javascript program from iimplay ?

Post by Hannes, Tech Support » Fri May 29, 2009 11:30 am

Did you try using iimSet()?

A workaround might be storing your macro in a script's string variable in which you can use your local (C#) variables directly.
Cf. http://wiki.imacros.net/send-macro-code.vbs
Post Reply