Jump to content

Recommended Posts

Posted

hey guys for some reason this wont work...

Dim $URL = "http://www.ebaumsworld.com/games/play/848/"
$oIE = ObjCreate("Shell.Explorer.2")
GUICreate ( "Tontie", 410, 480,(@DesktopWidth-640)/2, (@DesktopHeight-580)/2, BitOr($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN))
GUICtrlCreateObj( $oIE, -210, -220 , 640 , 650 )
GUICtrlCreateLabel("Thanks Valuater",230, 460, 100, 30)
GUISetState()       
$oIE.navigate($URL)

but if i change the $URL to "http://www.albinoblacksheep.com/flash/curveball.php" it works...

for some reason it seems to need the .php or the .html or what not at the end is there anyway around this?

*EDIT*

if i change the $oIE = ObjCreate("Shell.Explorer.2") to $oIE = ObjCreate("Shell.Explorer.1") it still gives an error but if i hot continue it will load the page up after the error..so i guess its a temporary fix untill someone can tell me how to really fix this.

Posted

@blyind...First of you need to include the guiconstants.au3 file and you also need a while loop after guisetstate()...

Like this..

#include <GUIConstants.au3>

Dim $URL = "http://www.ebaumsworld.com/games/play/848/"
$oIE = ObjCreate("Shell.Explorer.2")
GUICreate ( "Tontie", 410, 480,(@DesktopWidth-640)/2, (@DesktopHeight-580)/2, BitOr($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN))
GUICtrlCreateObj( $oIE, -210, -220 , 640 , 650 )
GUICtrlCreateLabel("Thanks Valuater",230, 460, 100, 30)
GUISetState()      
$oIE.navigate($URL)


While 1

    $msg = GUIGetMsg()
    if $msg = -3 then ExitLoop

WEnd
Posted (edited)

not tested but should work

#include <GUIConstants.au3>
#include <IE.au3>

Dim $URL = "http://www.ebaumsworld.com/games/play/848/"
$oIE = _IECreateEmbedded()
GUICreate ( "Tontie", 410, 480,(@DesktopWidth-640)/2, (@DesktopHeight-580)/2, BitOr($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN))
GUICtrlCreateObj( $oIE, -210, -220 , 640 , 650 )
GUICtrlCreateLabel("Thanks Valuater",230, 460, 100, 30)
GUISetState()       
_IENavigate($oIE, $url)


while 1
    

    $msg = GUIGetMsg()
    if $msg = -3 then ExitLoop
WEnd
Edited by ashley
Posted

@blyind...First of you need to include the guiconstants.au3 file and you also need a while loop after guisetstate()...

Like this..

#include <GUIConstants.au3>

Dim $URL = "http://www.ebaumsworld.com/games/play/848/"
$oIE = ObjCreate("Shell.Explorer.2")
GUICreate ( "Tontie", 410, 480,(@DesktopWidth-640)/2, (@DesktopHeight-580)/2, BitOr($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN))
GUICtrlCreateObj( $oIE, -210, -220 , 640 , 650 )
GUICtrlCreateLabel("Thanks Valuater",230, 460, 100, 30)
GUISetState()      
$oIE.navigate($URL)
While 1

    $msg = GUIGetMsg()
    if $msg = -3 then ExitLoop

WEnd

your worrks too as dose mine.. but mine loads alot quicker for some reason. i cant see why

Posted

hey guys yea i had the guiconstants included i just didnt post the whole script...

also tried your way of including ie.au3

and useing the

$oIE = _IECreateEmbedded()
_IENavigate($oIE, $url)oÝ÷ ÙÊ&©Ý²)ìµæ¡ûay«­¢+ØÀÌØí½%ô=©
ÉÑ ÅÕ½ÐíM¡±°¹áÁ±½ÉȸÈÅÕ½Ðì¤(ÀÌØí½%¹¹Ù¥Ñ ÀÌØíUI0

method...but i still get the error, although after the debugger pops up

it will still load the page so i guess it isnt a critical error...i dunno

do you guys use jscript debugger aswell?

also it seems to only happen on this page perhaps its something with this

page if i load google.com or ebaumsworld.com it loads find with no error i dont get it.

any suggestions?

also is there any UDF's to use the mozilla browser instead of IE? like perhaps a MOZILLA.au3 that i could include..i am biased against IE =)

Posted

hey guys yea i had the guiconstants included i just didnt post the whole script...

also tried your way of including ie.au3

and useing the

$oIE = _IECreateEmbedded()
_IENavigate($oIE, $url)

method...but i still get the error, although after the debugger pops up

it will still load the page so i guess it isnt a critical error...i dunno

do you guys use jscript debugger aswell?

also it seems to only happen on this page perhaps its something with this

page if i load google.com or ebaumsworld.com it loads find with no error i dont get it.

any suggestions?

also is there any UDF's to use the mozilla browser instead of IE? like perhaps a MOZILLA.au3 that i could include..i am biased against IE =)

Well why not just use mine it seams to work for me.

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
  • Recently Browsing   0 members

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