Guest brox Posted April 6, 2004 Posted April 6, 2004 Hi All, I have a test script that waits for a particular window and presses OK when it appears. This works fine when run manually, but when started from Task Scheduler it looks like it starts then ends very quickly. Is there a trick to get scheduled tasks running? I'm guessing it's in the area of which user to run the script as? All help appreciated, Jason
Valik Posted April 6, 2004 Posted April 6, 2004 It has to be run as the same user currently logged in or it can't see the windows. On the properties page, there is a "RunAs:" label with an edit beside it. Fill it in (And password) and it should work.
Guest brox Posted April 6, 2004 Posted April 6, 2004 Sweet as, thanks guys. I've used SU from the Windows Resource Kit cause I can pass it the password easier in this case.
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