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 / _IEPropertyGet.au3 < prev    next >
Encoding:
Text File  |  2006-07-14  |  607 b   |  14 lines

  1. ; *******************************************************
  2. ; Example 1 - Open a browser with the basic example, check to see if the
  3. ;                addressbar is visible, if it is turn it off, if it is not turn it on
  4. ; *******************************************************
  5. ;
  6. #include <IE.au3>
  7. $oIE = _IE_Example ("basic")
  8. If _IEPropertyGet ($oIE, "addressbar") Then
  9.     MsgBox(0, "AddressBar Status", "AddressBar Visible, turning it off")
  10.     _IEPropertySet ($oIE, "addressbar", False)
  11. Else
  12.     MsgBox(0, "AddressBar Status", "AddressBar Invisible, turning it on")
  13.     _IEPropertySet ($oIE, "addressbar", True)
  14. EndIf