home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 February / PCWorld_2006-02_cd.bin / software / vyzkuste / triky / triky.exe / 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.