Jump to content
Sign in to follow this  
danek90099

_IECreateEmbeddAd, malfunctioning program.

Recommended Posts

danek90099

Hello, I have a problem. I need to put a browser window in the program gui, and more specifically a web game window. When I check various scripts they work perfectly, but when I give the address of the game, it does not load it completely, or just as if the plug did not work as it should. The address of the game www.taern.pl I would like to add that once on the xp wines it worked great for me, and now the pc on win7 and on the laptop on win10 the case looks the same. It adds a piece of script where in one window it works perfectly and in the other it does not want to load in the game. How to do it to load the game well? I would add that by entering this game manually from the level of the internet explorer, it works perfectly.

 

#include <GUIConstantsEx.au3>
#include <IE.au3>
#include <WindowsConstants.au3>


GUICreate("TEST", 800, 600, (@DesktopWidth - 800) / 2, (@DesktopHeight - 600) / 2, $WS_OVERLAPPEDWINDOW + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN)


Local $oIE = _IECreateEmbedded()
Local $iGUI1_O0 = GUICtrlCreateObj($oIE, 10, 10, 780, 285)


Local $oIE2 = _IECreateEmbedded()
Local $iGUI1_O1 = GUICtrlCreateObj($oIE2, 10, 305, 780, 285)


GUISetState(@SW_SHOW)


_IENavigate($oIE, "http://www.taern.pl")
_IEAction($oIE, "stop")
_IENavigate($oIE2, "http://www.google.pl")
_IEAction($oIE2, "stop")


While 1
    Local $iMsg = GUIGetMsg()
    Select
        Case $iMsg = $GUI_EVENT_CLOSE
            ExitLoop
    EndSelect
WEnd


GUIDelete()


Exit

 

Share this post


Link to post
Share on other sites
Melba23

danek90099,

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×