Sign in to follow this  
Followers 0
jjj

windows scheduler starting scripts a process?

4 posts in this topic

i have been trying to get windows scheduler start a script that opens a video conversion tool (auto gordian knot) in the middle of the night, and starts a conversion. The problem is, windows scheulder starts the script as a process, so when the script opens AutoGK, no window is shown. I have tryed to use the winactivate and winsetstate, but nothing will bring up the gui. (i need the gui up to send commands to it.)

Does anyone have a solution for using windows scheduler? (i specifically want to use the scheduler to save on system resources)

thanks!

Share this post


Link to post
Share on other sites



You need to give Task Scheduler a valid username and password to interact with the desktop else it just does not have the right.

Share this post


Link to post
Share on other sites

i have been trying to get windows scheduler start a script that opens a video conversion tool (auto gordian knot) in the middle of the night, and starts a conversion. The problem is, windows scheulder starts the script as a process, so when the script opens AutoGK, no window is shown. I have tryed to use the winactivate and winsetstate, but nothing will bring up the gui. (i need the gui up to send commands to it.)

Does anyone have a solution for using windows scheduler? (i specifically want to use the scheduler to save on system resources)

thanks!

When you schedule it, use the interactive parameter.

If using at it's /interactive

Steve

Share this post


Link to post
Share on other sites

thanks steve

i have set up a hack to make it work: at worked with the interactive parameter, but it would not wake up the computer out of standby, so i have a regular scheduled task to wake up the computer and start a au3 that runs the at command to start the task with the interactive parameter.

If anyone has a better way to do this, please let me know!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0