Advertisement
AZJIO

GUI+IE - авторан CD

Dec 28th, 2012
798
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.39 KB | None | 0 0
  1. #include <WindowsConstants.au3>
  2. #include <IE.au3>
  3. _IEErrorHandlerRegister()
  4. $oIE = _IECreateEmbedded()
  5. GUICreate("Autorun CD", 770, 520, -1, -1, _
  6.     $WS_OVERLAPPEDWINDOW + $WS_CLIPSIBLINGS, $WS_EX_COMPOSITED)
  7. $GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 770, 520)
  8. GUICtrlSetResizing(-1, 2 + 4 + 32 + 64)
  9. GUISetState()
  10. _IENavigate($oIE, @ScriptDir & '\index.htm')
  11. Do
  12. Until GUIGetMsg() = -3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement