Eliminator Posted June 11, 2009 Posted June 11, 2009 Hi!I want my script to load a specific web page (or source) into a gui part (without opening a browser window), but I dont know how to do it. In VB6 its just textbox.text=inet1.openurl().Like the one in TRAVIAN BOT:http://www.autoitscript.com/forum/index.ph...st&id=20477How can I do that?
nguyenbason Posted June 12, 2009 Posted June 12, 2009 Create object #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Web Browser", 393, 242, 193, 125) $Obj1 = ObjCreate("Shell.Explorer.2") $Obj1_ctrl = GUICtrlCreateObj($Obj1, 8, 8, 378, 228) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### $Obj1.navigate("http://www.google.com") While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd UnderWorldVN- Just play the way you like it
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