Jump to content

windows scheduler starting scripts a process?


jjj
 Share

Recommended Posts

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!

Link to comment
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

Link to comment
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!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...