|
Post by danielice on Apr 14, 2018 9:40:39 GMT
Hi All,
I'm new to MMM and I have to say it is a really nice and helpful tool. Thanks for it ! :-) I build a macro which is running every morning and doing a few steps. But my problem is, that the macro window ( MMM MYFile.mmmacro ) is open after 5 days 5 times. So I want to get the macro closed after one round automatically. Windows Scheduler is starting a new session / round every morning. This is working fine, so I want to get the MMM exe closed automatically.
In VBA there is "Application.Quit" - is there something similiar in MMM available ?
Thanks & Best, Daniel
|
|
|
Post by Steve on Apr 15, 2018 5:02:43 GMT
Hi Daniel, There are a few ways to get Mini Mouse Macro to close automatically after running a macro: - Enable 'Exit and close after Macro end' in the options. This setting will close the application after the macro finishes.
2. When calling the macro via task scheduler include the /e switch at the command line. 3. Include a condition to kill the Mini Mouse Macro process. Make the last line in your macro a kill condition for the MiniMouseMacro named process: 51 | RUN ACTION | | | | KILL PROCESS NAME | MiniMouseMacro
Hope this helps.
Regards, Steve.
|
|