This is I'm sure an ultimate beginner question.
Goal: Without intervention, after reboot and user login watch for a windows to pop onto the screen and then click the OK button.
Current state: After reboot and login MS is running in the task bar. If the macro is started manually it waits for the windows to open and clicks OK beautifully.
Problem: I can't figure out how to make the macro start automatically. I have configured the advanced option "window event" to run when a windows that is always open is open.
One thing that is confusing me is that this macro does run on its own when I've finished editing and click OK.
I would be just fine if the macro runs 24/7 waiting for that window to open.
Reliably starting a macro?
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Just set it to run on startup. No need for a trigger. Go into macro properties, go to the run when tab, then advanced schedule properties and there's an option there to have it run on startup.
Alternatively forget the scheduler options, create a shortcut using the shortcut tool on the toolbar, this will create a desktop shortcut to the macro. Now move that shortcut to your startup folder under start/programs.
Alternatively make your own startup shortcut. It needs to be a shortcut to:
"C:\program files\macro scheduler\msched.exe" macro name
Adjust paths accordingly.
Alternatively if you have Pro just compile to a .exe and stick that or a shortcut to it in your startup folder.
I will stop with the alternatives now, but there are others ....
Alternatively forget the scheduler options, create a shortcut using the shortcut tool on the toolbar, this will create a desktop shortcut to the macro. Now move that shortcut to your startup folder under start/programs.
Alternatively make your own startup shortcut. It needs to be a shortcut to:
"C:\program files\macro scheduler\msched.exe" macro name
Adjust paths accordingly.
Alternatively if you have Pro just compile to a .exe and stick that or a shortcut to it in your startup folder.
I will stop with the alternatives now, but there are others ....
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Thanks for your time. I am not having a problem with the initial running of the macro.
The macro starts with a WaitWindowOpen.
The problem I'm having is that after seeing the window and completing the tasks the macro does not start over again even though I have told it to "Run Macro when this Window Exists".
I suppose I could goto>label back to the top but I thought I was choosing the more elegant way.
The macro starts with a WaitWindowOpen.
The problem I'm having is that after seeing the window and completing the tasks the macro does not start over again even though I have told it to "Run Macro when this Window Exists".
I suppose I could goto>label back to the top but I thought I was choosing the more elegant way.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Right. I see.
Well I'd do what you suggest. If your macro is running on startup anyway then why not let it run all the time. Loop back to the beginning once done.
Well I'd do what you suggest. If your macro is running on startup anyway then why not let it run all the time. Loop back to the beginning once done.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?