Jump to content

Embedded IE crash


ashley
 Share

Recommended Posts

ok, im making this for a m8, who won't download the latest IE... but he wants tabed windows... when hes playing on runescape, so this will make it easyer for him, so he wants 3 tabs(runescape,runehq and runetips).

The problem is that runescape crashes the whole GUI when loaded....

This did'nt happend before it was tabbed... any ideas....

my script is below:

#include <GUIConstants.au3>
#include <IE.au3>
_IEErrorHandlerRegister ()


$oIE = _IECreateEmbedded ()
$oIE1 = _IECreateEmbedded ()
$oIE2 = _IECreateEmbedded ()
$Form1 = GUICreate("Form1", 955, 600)
$Tab1 = GUICtrlCreateTab(8, 16, 854, 575)
$runescapetsb = GUICtrlCreateTabItem("runescape")
GUICtrlSetState(-1,$GUI_SHOW)
$runescape= GUICtrlCreateObj($oIE, 10, 39, 850, 555)
$runehqtab = GUICtrlCreateTabItem("runehq")
$runetips = GUICtrlCreateObj($oIE1, 10, 39, 850, 575)
$runetipstab = GUICtrlCreateTabItem("runetips")
$runetips = GUICtrlCreateObj($oIE2, 10, 39, 850, 575)
GUICtrlCreateTabItem("")
$Autotele = GUICtrlCreateGroup("  Teleporter", 872, 16, 81, 113)
$Startteleport = GUICtrlCreateButton("Start", 888, 80, 51, 25, 0)
$Teleports = GUICtrlCreateCombo("Choose", 880, 48, 65, 25)
GUICtrlSetData(-1, "Fally")
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)

_IENavigate ($oIE, "http://www.runescape.co.uk/")
_IENavigate ($oIE1, "http://www.runehq.com/")
_IENavigate ($oIE2, "http://tip.it/runescape/")

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Startteleport
            tele()
    EndSwitch
WEnd

Func tele()
;HotKeySet("{esc}", "stop")
If GUICtrlRead($Teleports) = "Fally" then
        Sleep(500)
        MouseMove(824, 326)
        Sleep(1000)
        MouseClick("Left")
        While 1
        ;ifpressed
        Sleep(1000)
        MouseMove(652, 452)
        Sleep(1000)
        MouseClick("Left")
        WEnd
        Else
MsgBox(48,"Error","Please choose a Place to teleport before starting the teleporter")
        EndIf
EndFunc
Link to comment
Share on other sites

Not enough information.

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

Over 700 posts and you still don't know enough to post error message text?

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

So you didn't mean it when you said "The problem is that runescape crashes the whole GUI when loaded...."?

I have no desire to run your game. Can you reproduce this with another site or is it only with that site? If only with that site, what do you guess is different about it that might cause trouble?

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

ok well i ahve three gui windows and the tabs work fine... it atchulay when you press exisiting user then you select a detai and then a world that when it crashes...

@Dale...

1) it not my game... and it is very well know and trusted(no viruses/downloads)

2) no its only this website when in the atual game pages...

@ volly i have found no issues except that it frezzes that game windows

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...