I have an iMacro 'Test.iim' and I want to play or call this iMacro from a javascript that is attached into a button click event in my webpage.
Please Help with some sample code.
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
You can also use an imacros java script converter where you copy paste your whole script, and recieve the final code as a java script.
simple example code would be:
here you can find additional information about it: http://wiki.imacros.net/iimPlay
The answer is this.
When calling a macro inside a Macros folder put "" around the macro and it will play it. Also you can add timer for that macro like this.
This means the macro has maximum 60 seconds to complete.
When playing the macro which is declared as variable inside the .js file then you do it like this
And that is all.