home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / IsObj.au3 < prev    next >
Encoding:
Text File  |  2006-06-17  |  190 b   |  7 lines

  1. $oShell = ObjCreate("shell.application")
  2. if not IsObj($oShell) then
  3.     Msgbox(0,"Error","$oShell is not an Object.")
  4. else
  5.     Msgbox(0,"Error","Successfully created Object $oShell.")
  6. endif
  7.