Webrecorder Question

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
lebrocoli
Pro Scripter
Posts: 53
Joined: Tue Sep 06, 2005 9:28 pm

Webrecorder Question

Post by lebrocoli » Thu Jun 26, 2008 7:29 pm

Hi,

Strange question: Is there a small manual for web recorder? I know it is straight forward to use but it does not seem to work for me.

I was just playing around and was doing this: I typed http://www.google.com and then I clicked on the Go button. Then I enter 'joe' and click search and then I click on the first site that comes up and save the script.

When I replay the script, it opens IE and load google and that is it. It does not even type 'joe' in google. Is there something I am missing?

Thanks

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

Post by Marcus Tettmar » Wed Jul 02, 2008 8:13 am

Hi,

I just did exactly as you describe and WebRecorder produced the following code which works as expected:

Code: Select all

// Generated by MacroScript WebRecorder 2.04
// Recorded on  Wednesday, July 2, 2008, at 09:13 AM

//Move the mouse cursor out of harm's way to avoid causing mouseover events to interrupt
MouseMove>0,0
Let>delay=1
IE_Create>0,IE[1]

IE_Navigate>%IE[1]%,www.google.com,r
IE_Wait>%IE[1]%,r
Wait>delay

Let>FrameName={""}
Let>FormName={"f"}
Let>FieldName={"q"}
Let>FieldValue={"joe"}
IE_FormFill>%IE[1]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0,r

Let>FrameName={""}
Let>FormName={"f"}
Let>TagValue={"btnG"}
IE_ClickTag>%IE[1]%,str:FrameName,str:FormName,INPUT,NAME,str:TagValue,r

IE_Wait>%IE[1]%,r
Wait>delay

LibFree>hIE
Label>end_script
If you hit F1 or Help menu you will see the manual which includes a function reference.
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
cron
Sign up to our newsletter for free automation tips, tricks & discounts