marauder Posted September 5, 2005 Posted September 5, 2005 Hey. Is there a way to make a script look for when a window is CREATED? I have a simple script which continuously looks for if a window is there and performs an action, but this of course is repeated while the window is active. I only want it to do something when the window is CREATED. Thanks
LxP Posted September 5, 2005 Posted September 5, 2005 (edited) You could do something along these lines:Edit: Removed. Larry's speak is better. Or you might try something like:while (1) winWait("title", "text") ; my instructions here winWaitClose("title", "text") wEnd Edited September 5, 2005 by LxP
GaryFrost Posted September 5, 2005 Posted September 5, 2005 or if you want your script to do other things when the window doesn't exist you might want to look into using AdLib SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
marauder Posted September 5, 2005 Author Posted September 5, 2005 Thanks a million guys! By the way, Larry, I've only asked 1 other question on this forum before which was about a year ago and you were also the first to reply then with an answer. Nice work!!
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