yucatan Posted October 8, 2009 Share Posted October 8, 2009 is it possible to use a autoit gui to add remove and modify tasks in windows scheduler? Link to comment Share on other sites More sharing options...
99ojo Posted October 8, 2009 Share Posted October 8, 2009 (edited) Hi, Have a look at schtasks.exe gives you all you need. Get output with StdOut. e.g: #include <Constants.au3> $pid = Run (@ComSpec & " /c schtasks.exe", @SystemDir, @SW_HIDE, $STDOUT_CHILD) Local $line While 1 $line = StdoutRead($pid) If @error Then ExitLoop MsgBox(0, "STDOUT read:", $line) Wend For commandline options just run schtasks /? ;-)) Stefan Edited October 8, 2009 by 99ojo Link to comment Share on other sites More sharing options...
yucatan Posted October 8, 2009 Author Share Posted October 8, 2009 thanks for the info i can now make a gui to control my scheduler thank u very much. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now