Jump to content

Newbie question regarding opening existing html files


jayr
 Share

Recommended Posts

I am new at this and was hoping to use this tool to automatically open an existing html file in a browser and have the tool select a button to kick off an external script. This would be running during a build overnight so I can't be there to do so. Can this tool do this? I didn't see anything about opening existing files.

Link to comment
Share on other sites

IE Automation UDF Library

Examples in Post 3 in the IE Automation thread

Dale

I am new at this and was hoping to use this tool to automatically open an existing html file in a browser and have the tool select a button to kick off an external script. This would be running during a build overnight so I can't be there to do so. Can this tool do this? I didn't see anything about opening existing files.

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

I installed the beta version (3.1.1.84) and obtained the Au3Check syntax definition files in V1.46 and placed them in \program files\AutoIt3\SciTe\Au3Check as directed. When I attempted to run any of the examples you provided I get the following error message. Can you let me know what I am missing?

C:\Program Files\AutoIt3\Include\IE.au3(275,39) : ERROR: ObjName(): undefined function.

If (ObjName($o_window.document)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Program Files\AutoIt3\beta\Examples\start_gui.au3 - 1 error(s), 0 warning(s)

Link to comment
Share on other sites

I installed the beta version (3.1.1.84) and obtained the Au3Check syntax definition files in V1.46 and placed them in \program files\AutoIt3\SciTe\Au3Check as directed. When I attempted to run any of the examples you provided I get the following error message. Can you let me know what I am missing?

C:\Program Files\AutoIt3\Include\IE.au3(275,39) : ERROR: ObjName(): undefined function.

If (ObjName($o_window.document)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Program Files\AutoIt3\beta\Examples\start_gui.au3 - 1 error(s), 0 warning(s)

Thanks, that worked great.

Next question, I need to get past some activeX warnings in the window that I am bringing up. Should I simply navigate them via the standard autoIt or should I be using the autItX app for this?

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