Guest Sair Posted May 10, 2004 Share Posted May 10, 2004 My autoscript starts an application, sends keystrokes to the application to perform a repetative administration task, and then ends the application. If I log on, and run the script (either manually or on a schedule) it works fine. However, this task needs to run every 5 mins at the server console, I cannot leave the server console logged in and if I log out the script starts but then fails to find the correct window title/text (even though the application starts as there's a process shown in task manager). Any suggestions to 'cure' the problem? Thanks Link to comment Share on other sites More sharing options...
trids Posted May 10, 2004 Share Posted May 10, 2004 If you use Windows Task Scheduler, you can have it log in with a specific userID and password. Might be worth exploring HTH Link to comment Share on other sites More sharing options...
ezzetabi Posted May 10, 2004 Share Posted May 10, 2004 If you start a script when the computer is logged off Autoit cant send keystrokes. You have to use controls. Link to comment Share on other sites More sharing options...
scriptkitty Posted May 10, 2004 Share Posted May 10, 2004 Aye, look at the controlsend, controlclick, etc section. You can set it to repeat every 5 min or so with a @min or such and a loop. AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
miki_red Posted October 21, 2004 Share Posted October 21, 2004 You can use pslist.exe (http://www.sysinternals.com) to see if one process is running or not: pslist.exe > c:\procs.txt 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