Edit: I see you can only have up to 3 variables, so I'll just create another imacro to complete the second half of the form. But I'm still having trouble with the following...
I'm essentially trying to copy contents of data filled out on forms, and paste it into a new page. I'm receiving a "RuntimeError: Wrong format of CONTENT value, line: 15" error. This particular variable (and the next one, var5) is a drop down box and I'm trying to enter the extracted values.
Thanks for any help you can suggest.
Code: Select all
VERSION BUILD=6500125 RECORDER=FX
SET !EXTRACT_TEST_POPUP NO
TAB T=1
FRAME F=0
'Get the values
TAG POS=1 TYPE=SELECT FORM=NAME:create_ad_form ATTR=ID:age_min EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}
SET !EXTRACT NULL
TAG POS=1 TYPE=SELECT FORM=NAME:create_ad_form ATTR=ID:age_max EXTRACT=TXT
SET !VAR2 {{!EXTRACT}}
SET !EXTRACT NULL
'Now fill in the values
TAB T=2
FRAME F=0
TAG POS=1 TYPE=SELECT FORM=NAME:create_ad_form ATTR=ID:age_min CONTENT={{!VAR1}}
TAG POS=1 TYPE=SELECT FORM=NAME:create_ad_form ATTR=ID:age_max CONTENT={{!VAR2}}