Kyme Posted February 6, 2009 Share Posted February 6, 2009 hi all...i try to make some tool and this one block me...i have know how to do it...but i didn't use navigate comment some time and i have forget it:(( i want to make 1 gui & in it obj then navigate for ex to yahoo.com and when page have display to be at the middle on the vertical position and to middle to horizontal to start for ex 100 on "x" and 100 on "y" can anybody help me with this please thank you #include "GUIConstants.au3" $GUI = GUICreate("Title", 768, 434, -1, -1, BitOR($WS_SYSMENU,$WS_CAPTION,$WS_BORDER)) $B_oIE3 = ObjCreate("Shell.Explorer.2") $Breaktime = GUICtrlCreateObj($B_oIE3, 1, 1, 768, 434) $B_oIE3.navigate ("http://yahoo.com") GUISetState(True) While 1 $msg = GUIGetMsg() If $msg= $GUI_EVENT_CLOSE Then Exit EndIf WEnd Link to comment Share on other sites More sharing options...
Authenticity Posted February 6, 2009 Share Posted February 6, 2009 #include <IE.au3> Dim $oIE, $hGUI $oIE = _IECreateEmbedded() $hGUI = GUICreate('Example', 500, 485) GUICtrlCreateObj($oIE, 15, 10, 470, 465) _IENavigate($oIE, 'www.yahoo.com') $oIE.document.parentwindow.scroll(100, 100) GUISetState() Do Until GUIGetMsg() = -3 GUIDelete($hGUI) Exit lol Obama 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