Newbie with WebRecorder

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Rob
Newbie
Posts: 5
Joined: Sun Jun 22, 2003 10:41 am

Newbie with WebRecorder

Post by Rob » Fri Jun 17, 2005 4:47 am

Downloaded a trial version of the above - recorded a simple scenario and then tried to play it back. The mouse goes to the top left hand corner ( so somethings working! ) but then nothing! Am I supposed to have IE open before I start the script, or closed?
Any help would be appreciated..
TIA
Rob

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 » Fri Jun 17, 2005 5:31 am

The recorder is playing back your mouse movements and keyboard entries. It is doing this blindfolded, has no idea of what is on the screen, only knows relative position.

For macro to duplicate what you did, you must be in the same state as you were when you recorded the macro. So, if MSIE was open when you started to record macro, it needs to be open when you run the macro.

You will find that you can write/edit the macros to Close/Open programs so that this is not an issue. You can also move, resize windows as needed. Many commands also have TimeOut functions to allow continued script processing to be branched/looped/continued based on unattended timeout periods and the results during that period..

To send keystrokes in a window, you need to make sure the window is open, and that it is ready to accept mouse/keyboard entries. A typical structure might look like this:

Code: Select all

//Open program
Run Program>Drive:\Path\Program.exe param1 param2

//Wait to settle before sending inputs
WaitWindowOpen>WindowName*
SetFocus>WindowName*
WaitReady>1

//Send inputs, move mouse as needed
MouseMove>......
Press Tab*4
Send>.......
Press Tab
Send>.....
Do other stuff

//Close program
Press ALT
Send>fx
Release ALT

Label>End
Open your recorded macro and look at the commands it recorded.
Work with the Help file and sample scripts provided with Macro Scheduler.
Submit your issues here for lots of free user volunteered help and Tech Support inputs to help you along.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Re: Newbie with WebRecorder

Post by support » Fri Jun 17, 2005 8:02 am

Rob wrote:Downloaded a trial version of the above - recorded a simple scenario and then tried to play it back. The mouse goes to the top left hand corner ( so somethings working! ) but then nothing! Am I supposed to have IE open before I start the script, or closed?
Any help would be appreciated..
TIA
Rob
Which version of Macro Scheduler do you have? Look under Help/About - if you have earlier than 7.3.11.2 then exactly what you describe will happen because prior to 7.3.11.2 Macro Scheduler didn't have the commands needed to use the IEAuto.DLL the way it is needed. So when it tries to run the functions nothing happens because the DLL is never loaded!

So first, make sure you have the latest version of Macro Scheduler - 7.3.11.4.

The other thing to check once you know you have the latest version is that you have modified the first line to include the full path to IEAuto.DLL. If the path is wrong nothing will happen because the DLL is never loaded.

Once you have the latest version of Macro Scheduler and the correct path for the DLL you will see IE open and the script play back.
MJT Net Support
[email protected]

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Fri Jun 17, 2005 8:05 am

Bob Hansen wrote:The recorder is playing back your mouse movements and keyboard entries. It is doing this blindfolded, has no idea of what is on the screen, only knows relative position.
Bob, excellent advice for Macro Scheduler's Macro Recorder, but the OP was referring to WebRecorder which records interraction with Internet Explorer and plays back web activity. Quite a different beast.
http://www.mjtnet.com/webrecorder.htm
MJT Net Support
[email protected]

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 » Fri Jun 17, 2005 6:21 pm

AAArgh! :oops:

Totally missed the reference to WebCorder.
Thought that I read Recorder.

Sorry about that.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

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