I am looking for a way to either have the script log off and then log back in using a username and password or set up the scheduler to do so with its auto login feature. If I were to use the scheduler to auto login then is there a way to set the scheduler to run within mins of a dialog button being pressed?
Thanks,
Krash
Help with script
Moderators: Dorian (MJT support), JRL
Re: Help with script
Basically I want to know if I can set the scheduled run time from a dialog box.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Help with script
Not sure I follow. Can you clarify?
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?
Re: Help with script
In the the schedule tab you can set when a script will run. I want to be able to set "Time to Run" from a dialog within the script without going though the macro scheduler program.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Help with script
No, you can't do that. But you could have your script loop continuously, waiting for the time that was entered. You could store the time in a text file perhaps and have your loop trigger some action when the time matches.
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?
Re: Help with script
This is what I did, but was looking to see if there was an easier way lol.
I have a scheduler set to run every min and it will check for a YES/NO in a file before it runs. Works fine.
I have a scheduler set to run every min and it will check for a YES/NO in a file before it runs. Works fine.