hlstriker Posted September 11, 2005 Posted September 11, 2005 Is it possible to have a web browser inside of the GUI? If so, how? Thanks in advance! The best Honda forums!RuneScape High Alching for Profit!
JoshDB Posted September 11, 2005 Posted September 11, 2005 http://www.autoitscript.com/forum/index.ph...859entry75859 Ha, I haven't been on these forums since... 2006, almost. Behold, my legacy signature:My AutoIt idol is Valuater. You know you love him, too.My Stuff: D&D AGoT Tools Suite
hlstriker Posted September 11, 2005 Author Posted September 11, 2005 I meant adding say... Internet Explorer or Firefox? Can I have them inside A GUI? The best Honda forums!RuneScape High Alching for Profit!
yutt Posted September 11, 2005 Posted September 11, 2005 I meant adding say... Internet Explorer or Firefox? Can I have them inside A GUI?<{POST_SNAPBACK}>I'm not sure what you mean, but the GUICtrlCreateObj example in the manual shows how to embed an Internet Explorer object inside of your application and control it.expandcollapse popup#include <GUIConstants.au3> ; Simple example: Embedding an Internet Explorer Object inside an AutoIt GUI ; ; The full example is available in the test\ActiveX directory (TestXInternet.au3) ; ; See also: http://msdn.microsoft.com/workshop/browser/webbrowser/reference/objects/internetexplorer.asp $oIE = ObjCreate("Shell.Explorer.2") ; Create a simple GUI for our output GUICreate ( "Embedded Web control Test", 640, 580,(@DesktopWidth-640)/2, (@DesktopHeight-580)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $GUIActiveX = GUICtrlCreateObj ( $oIE, 10, 40 , 600 , 360 ) $GUI_Button_Back = GuiCtrlCreateButton ("Back", 10, 420, 100, 30) $GUI_Button_Forward = GuiCtrlCreateButton ("Forward", 120, 420, 100, 30) $GUI_Button_Home = GuiCtrlCreateButton ("Home", 230, 420, 100, 30) $GUI_Button_Stop = GuiCtrlCreateButton ("Stop", 330, 420, 100, 30) GUISetState () ;Show GUI $oIE.navigate("http://www.autoitscript.com") ; Waiting for user to close the window While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $GUI_Button_Home $oIE.navigate("http://www.autoitscript.com") Case $msg = $GUI_Button_Back $oIE.GoBack Case $msg = $GUI_Button_Forward $oIE.GoForward Case $msg = $GUI_Button_Stop $oIE.Stop EndSelect Wend GUIDelete () Exit It is a waste of energy to be angry with a man who behaves badly, just as it is to be angry with a car that won't go. - Bertrand Russell
hlstriker Posted September 11, 2005 Author Posted September 11, 2005 (edited) When I try to run that it gives me...$oIE = ObjCreate("Shell.Explorer.2")$oIE = ^ ERRORError: Unknown function name.What do I need to fix? Edited September 11, 2005 by hlstriker The best Honda forums!RuneScape High Alching for Profit!
yutt Posted September 11, 2005 Posted September 11, 2005 (edited) Ah, sorry, you may need to use the Beta version of AutoIt to get that functionality.Beta ThreadBeta Download Edited September 11, 2005 by yutt It is a waste of energy to be angry with a man who behaves badly, just as it is to be angry with a car that won't go. - Bertrand Russell
hlstriker Posted September 11, 2005 Author Posted September 11, 2005 (edited) Ok thanks Edited September 11, 2005 by hlstriker The best Honda forums!RuneScape High Alching for Profit!
hlstriker Posted September 11, 2005 Author Posted September 11, 2005 (edited) When I try and play a Java game on the integrated Internet Explorer, the keyboard doesn't seem to function? Does anyone know why? Edited September 11, 2005 by hlstriker The best Honda forums!RuneScape High Alching for Profit!
peethebee Posted September 16, 2005 Posted September 16, 2005 Hi! Perhaps the focus is not in the embedded IE Object... Try to click on it. peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
hlstriker Posted September 17, 2005 Author Posted September 17, 2005 I found out what the problem is, if I try typing into a Java object, it doesn't work!? Somehow the Java object takes the focus point away and turns it back to AutoIt!!! Is there a way to make it so it won't take the focus point away just because of a Java object? The best Honda forums!RuneScape High Alching for Profit!
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