HADE Posted February 2, 2019 Posted February 2, 2019 Hi everybody I am using google translate so there is nothing wrong telling people to ignore the household Now how do I hide my IE browser? This is my code: #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <IE.au3> #Region ### START Koda GUI section ### Form = $ Form1 = GUICreate ("LIVE EYE TOOL STREAM", 373, 243, 192, 124) $ Input1 = GUICtrlCreateInput ("Fill in Token here", 8, 48, 289, 21) $ Input2 = GUICtrlCreateInput ("Enter live ID here", 8, 104, 121, 21) $ Label1 = GUICtrlCreateLabel ("Token", 8, 16, 52, 25) GUICtrlSetFont (-1, 14, 400, 0, "Times New Roman") $ Label2 = GUICtrlCreateLabel ("Live ID", 8, 72, 60, 25) GUICtrlSetFont (-1, 14, 400, 0, "Times New Roman") $ Button1 = GUICtrlCreateButton ("Running Eyes", 8, 144, 123, 33) GUISetState (@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $ nMsg = GUIGetMsg () Switch $ nMsg Case $ GUI_EVENT_CLOSE Exit Case $ Button1 $ oIE.visible = False _IECreate ("http://nvhsystem.xyz/live/api.php?token=" & GUICtrlRead ($ Input1) & "& id =" & GUICtrlRead ($ Input2)) EndSwitch WEnd
TheDcoder Posted February 2, 2019 Posted February 2, 2019 You may want to use the $iVisible parameter of _IECreate like this: _IECreate ("http://nvhsystem.xyz/live/api.php?token=" & GUICtrlRead ($ Input1) & "& id =" & GUICtrlRead ($ Input2), 0, 0) This will hide the window, refer to the documentation for more details: https://www.autoitscript.com/autoit3/docs/libfunctions/_IECreate.htm EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now