home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 April / PCWorld_2005-04_cd.bin / software / vyzkuste / autoit / autoit-v3-setup.exe / Examples / WinWait.au3 < prev    next >
Text File  |  2004-09-22  |  165b  |  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.