Jump to content

_IEcreate does not work... at all


Recommended Posts

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $b_download
            if( $cid > 0 ) Then
                debugmsg("http://epicwar.com/maps/" & $cid & "/" )
                $bwin = _IECreate ( "http://epicwar.com/maps/" & $cid & "/" , 1, 0, 1)  
            EndIf

->

--> http://epicwar.com/maps/84637/

----------------------

--> IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatch

great function -.-

got xp sp3

Link to comment
Share on other sites

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $b_download
            if( $cid > 0 ) Then
                debugmsg("http://epicwar.com/maps/" & $cid & "/" )
                $bwin = _IECreate ( "http://epicwar.com/maps/" & $cid & "/" , 1, 0, 1)  
            EndIf

->

great function -.-

got xp sp3

?? What is it you have a problem with ?? What is the line "great function -.-" meant to tell us?

What prevents you from posting some code someone can run and what prevents you from telling us what the problem is?

At the moment all I can see is that you are creating a hidden browser. Is your problem that you can't see it?

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

?? What is it you have a problem with ?? What is the line "great function -.-" meant to tell us?

What prevents you from posting some code someone can run and what prevents you from telling us what the problem is?

At the moment all I can see is that you are creating a hidden browser. Is your problem that you can't see it?

im creating a visible browser.. but it's not working, no browser window and the quoted console outprint..

Link to comment
Share on other sites

$bwin = _IECreate ( "http://epicwar.com/maps/" & $cid & "/" , 1, 0, 1)

Yup, you're trying to attach invisibly to an already running iexplore.exe process. ;] First test it without hiding and attach, step by step. If the attaching is making it to fail you'll need to read again the remarks or use _IEAttach() maybe...

Link to comment
Share on other sites

im creating a visible browser.. but it's not working, no browser window and the quoted console outprint..

You are creating a hidden browser. To create a visible browser you need to have the $f_visible parameter set to 1 not 0.

From the help

_IECreate ( [$s_Url = "about:blank" [, $f_tryAttach = 0 [, $f_visible = 1 [, $f_wait = 1 [, $f_takeFocus = 1]]]]] )

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

As a matter of fact, it is a great function. The documentation is pretty good too -- please read it.

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

  • Developers

As a matter of fact, it is a great function. The documentation is pretty good too -- please read it.

I second that ... :)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...