Guest User

Untitled

a guest
Apr 11th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 1.18 KB | None | 0 0
  1. Opt("GUIOnEventMode", 1)
  2.  
  3. #include <GUIConstantsEx.au3>
  4. #include <WindowsConstants.au3>
  5. #include <SliderConstants.au3>
  6. #include <GuiSlider.au3>
  7. ;~ #include <DateTimeConstants.au3>
  8. ;~ #include <Inet.au3>
  9. #include <IE.au3>
  10. #include <WinAPI.au3>
  11. #include <GuiTab.au3>
  12.  
  13. Local $GUI_EVENT_CLOSE, $nMsg
  14. Global $webbrowser, $progress, $url, $options, $refresh, $oIE, $GUIActiveX, $starturl, $starturllabel, $starturlyes
  15. Global $updatesbutton, $updateslabel, $okay, $webbrowseroptionen, $GUI_DISABLE, $GUI_CHECKED, $GUI_ENABLE
  16. Global $ver = "0.1"
  17.  
  18. $oIE = _IECreateEmbedded()
  19.  
  20. $webbrowser = GUICreate("Webrowser", 700, 500, -1, -1, -1, -1)
  21. GUISetBkColor(0xEEEEEE, $webbrowser)
  22.  
  23. $progress = GUICtrlCreateProgress(3, 473, 694, 23, -1, -1)
  24. $url = GUICtrlCreateInput("Bitte geben sie eine URL ein", 246, 4, 450, 20, -1, 512)
  25. GUICtrlSetColor(-1, "0xC0C0C0")
  26. $options = GUICtrlCreateButton("Einstellungen", 4, 3, 107, 23, -1, -1)
  27. $refresh = GUICtrlCreateButton("Aktualisieren", 120, 3, 107, 23, -1, -1)
  28.  
  29. $GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 680, 425)
  30. GUISetState(@SW_SHOW, $webbrowser)
  31.  
  32. While 1
  33.     $nMsg = GUIGetMsg()
  34.     Switch $nMsg
  35.         Case $GUI_EVENT_CLOSE
  36.             Exit
  37.     EndSwitch
  38. WEnd
Add Comment
Please, Sign In to add comment