home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2005 November / PCWELT_11_2005.ISO / pcwsoft / autoit-v3-setup.exe / Examples / WinWait.au3 < prev    next >
Encoding:
Text File  |  2004-09-22  |  165 b   |  8 lines

  1. ;Wait for the window "Untitled" to exist
  2.  
  3. Run("notepad")
  4. WinWait("Untitled")
  5.  
  6. ;Wait a maximum of 5 seconds for "Untitled" to exist
  7. WinWait("Untitled", "", 5)
  8.