HADE Posted February 28, 2019 Share Posted February 28, 2019 Hi I want to ask how to hide IE browser The Uncle Help Me With Here Is My Code: Case $ Button1 Global $ oIE = _IECreate ("https://curllikefb2018.000webhostapp.com") Local $ UID = _IEGetObjByName ($ oIE, "access_token") Local $ button10 = _IEGetObjByName ($ oIE, "submit") _IEFormElementSetValue ($ UID, GUICtrlRead ($ Input1)) _IEAction ($ button10, "Click") MsgBox (0, "Notice", "Add Success") MsgBox (1, "Notice", "Delay Up 5p") Link to comment Share on other sites More sharing options...
Dwalfware Posted February 28, 2019 Share Posted February 28, 2019 like this? Local $oIE = _IECreate("http://127.0.0.1",0,0,0,0) _IELoadWait($oIE) _IEQuit($oIE) HADE 1 Link to comment Share on other sites More sharing options...
rm4453 Posted March 1, 2019 Share Posted March 1, 2019 (edited) FYI if you google Autoit _IECreate you get a help file page which shows the following *and a bit more info* *NOTE THE ORANGE TEXT* _IECreate Create an Internet Explorer Browser Window #include <IE.au3> _IECreate ( [$sUrl = "about:blank" [, $iTryAttach = 0 [, $iVisible = 1 [, $iWait = 1 [, $iTakeFocus = 1]]]]] ) Parameters $sUrl [optional] specifies the Url to navigate to upon creation $iTryAttach [optional] specifies whether to try to attach to an existing window 0 = (Default) do not try to attach 1 = Try to attach to an existing window $iVisible [optional] specifies whether the browser window will be visible 0 = Browser Window is hidden 1 = (Default) Browser Window is visible $iWait [optional] specifies whether to wait for page to load before returning 0 = Return immediately, not waiting for page to load 1 = (Default) Wait for page load to complete before returning $iTakeFocus [optional] specifies whether to bring the attached window to focus 0 = Do not bring window into focus 1 = (Default) bring window into focus Which would mean: _IECreate("google.com", 0, 0, 0) ;Invisible IE Window _IECreate("google.com", 0, 1, 0) ;Visible IE Window Edited March 1, 2019 by rm4453 Fixed Code Formatting Link to comment Share on other sites More sharing options...
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