Web Recorder syntax help

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
obfusc88
Pro Scripter
Posts: 89
Joined: Wed Mar 14, 2007 6:22 pm

Web Recorder syntax help

Post by obfusc88 » Tue Oct 09, 2012 2:49 am

I am trying to get familiar with latest version of Web Recorder 1.6.4.

I am looking at some sample scripts, and having problems to get them to run in Macro Scheduler 13. I have WR installed, but not turned on when I am single stepping through my script.

Where do I get help on the syntax for commands like:
IE_OnDownload>
IE_SetTimeout>
IE_Create>
IE_Navigate>
IE_WaitDocumentComplete>
IE_ClickTag>
IE_FormFill>
IE_FormSubmit>

I thought the following command would start an instance of MSIE, but nothing happens, MSIE does not start/open.
IE_Create>0,IE[0]

FireFox is my default browser, but I do not think that should make a difference. Is there some type of library I need to load first? Does WR need to be started and running in the background for these commands to work?

I just found a reference to a file IEAuto.dll . Do I need to download this from somewhere. Where would I put it, do I have to do anything else with it?

I seem to have overlooked the obvious, but can't figure it out.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue Oct 09, 2012 3:47 am

There is a free utility here: http://www.nirsoft.net/utils/dll_export_viewer.html that will allow you to export all of the functions of the any dll file.

I don't believe that it provides the syntax, but at least you may be able to see the total capabilities. The Web Recorder Help file does have some syntax info.

Strange, I just ran the viewer on IEAuto.dll and got a list of 10 functions, some are not included in your list, and some in your list are not included in the viewer. Hmm, I wonder if I may need to upgrade, it is a few years old......nope, I have the latest version.

I also see that the 10 in the viewer are the same 10 that are in the Help file for Web Recorder. I think that the extra commands you listed are probably from another dll files.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Oct 09, 2012 6:15 am

Errr ... All the WebRecorder functions are documented IN FULL in the WebRecorder help file. While in WebRecorder hit F1 and you'll see the help file then go to IEAuto Functions. Or hit Help/About or from Start All programs go WebRecorder/Help.

All the functions are there and there's an example for each one.

Exporting the internal DLL functions will not help you at all. You're not calling the DLL functions directly you're using the Macro Scheduler imports.

The latest version of WebRecorder has 33 functions as you'll see in the help file. Bob a) ignore the DLL exports they won't help you and b) make sure you are not looking at the DLL - for WR3 you should be using the wrapped IE_ functions anyway and NOT loading from the DLL.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts