mist3r Posted May 25, 2007 Share Posted May 25, 2007 I've read everywhere about detecting window titles and closing them but how do you go about running through a script and it also be checking for a window title to appear at any time? Would that have to be another seperate script waiting for a window title or can it be on the lookout for it yet continue running the rest of script? Thanks for any help - really appreciate it Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 25, 2007 Share Posted May 25, 2007 Use AdLibEnable() to get a small function checking periodically in the background. Cheers! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
jokke Posted May 25, 2007 Share Posted May 25, 2007 (edited) or do something like this: $title = 'known part of the title' $search = 'title you are searching for' Do Sleep(10) Until WinGetTitle($title,'') = $search Edited May 25, 2007 by jokke UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt. Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 25, 2007 Share Posted May 25, 2007 or do something like this: $title = 'known part of the title' $search = 'title you are searching for' Do Sleep(10) Until WinGetTitle($title,'') = $search I don't think that meets the specs of letting the script continue running while monitoring for the window: ...running through a script and it also be checking for a window title to appear at any time? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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