Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Simple IE Browser Control Problem.

$
0
0
Hello I am having trouble with a simple browser control issue.
[ autoit ]         
Local $oIE = _IECreateEmbedded() GUICreate("IEWpLoginAuto", 640, 580, _ (@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _ $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN) GUICtrlCreateObj($oIE, 10, 40, 600, 360) Local $GUI_Button_Back = GUICtrlCreateButton("Back", 10, 420, 100, 30) Local $GUI_Button_Refresh = GUICtrlCreateButton("Refresh", 120, 420, 100, 30) Local $GUI_Button_Home = GUICtrlCreateButton("Home", 230, 420, 100, 30) Local $GUI_Button_Stop = GUICtrlCreateButton("Stop", 340, 420, 100, 30) GUISetState() ;Show GUI _IENavigate($oIE, "http://filehop.org/wp-login.php") While 1 If _IsPressed("Home") then _IENavigate($oIE, "http://www.autoitscript.com") EndIf If _IsPressed($GUI_Button_Back) then _IEAction($oIE, "back") EndIf If _IsPressed($GUI_Button_Refresh) then _IEAction($oIE, "refresh") EndIf If _IsPressed("Stop") then _IEAction($oIE, "stop") EndIf WEnd Exit
Basically my buttons do not work properly.
I got this code from the LibFunctions directory on Autoit's main website. That script works just fine and opens a window with the correct buttons and everything. However that code does not allow you to send Tab or anything to the actual website.
I noticed that there was a msg variable attached to each string in that code, so I thought if I took that out and defined the buttons myself I could add additional options to the window.
Main point is I'm trying to get this code to work and I am having some issues.
Thank you in advance for your help.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>