When I run my scrips for a long period of time, I get memory leak and the software crashes.
Therefore, I want to use VBS to open and close the iMacros browser to prevent memory leak.
I know that the script should look like this:
Code: Select all
Set iim1= CreateObject ("imacros")
iret = iim1.iimOpen()
iret = iim1.iimPlay("name of the file.iim")
iret = iim1.iimClose()
I need it to play 1 loop, close the software, and then play the next.