Web Recorder - Variable

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
CyberCitizen
Automation Wizard
Posts: 724
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Web Recorder - Variable

Post by CyberCitizen » Tue Jan 19, 2010 6:43 am

Hey Guys,

Got an issue with WebRecorder & Using IE_FormFill.

I have a script that loads up a website & attempts to fill out the required form.

Problem is I want to be able to use a dialog & have the result.

When I run the script I get an error on line blah (basically this line: Let>FieldValue={"%Result%"})

It doesn't like the % signs being used. What else can I use to pass the variable.

Code: Select all

Input>Result,Message

Let>FrameName={""}
Let>FormName={""}
Let>FieldName={"Callersmsg"}
Let>FieldValue={"%Result%"}
IE_FormFill>%IE[3]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0,r
FIREFIGHTER

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 Jan 19, 2010 9:51 am

That would set it to the literal string"%Result%". If you want the VALUE of a variable called Result then just use:

Let>FieldValue=Result

Or just pass Result in directly:

IE_FormFill>%IE[3]%,str:FrameName,str:FormName,str:FieldName,str:Result,0,r
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