How do you put a PROMPT value of {{!VAR1} to js value

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
momonga
Posts: 2
Joined: Sun Jul 19, 2015 2:08 am

How do you put a PROMPT value of {{!VAR1} to js value

Post by momonga » Sun Jul 19, 2015 2:33 am

Since it uses translation software, might English is wrong
VERSION BUILD=8920312 RECORDER=FX
firefox 39.0

i wrote test.js

Code: Select all

var test = 2;
iimPlay("CODE:TAB T=1");
iimPlay("CODE:PROMPT \"input start a numeric\" !VAR1");
iimPlay("CODE:SET !VAR1 test");
iimDisplay (test); 
iimPlay("CODE:PAUSE");
why start value always 2?
how !VAR1 value to test?

Please tell me where is wrong.
Tom, Tech Support
Posts: 3498
Joined: Mon May 31, 2010 4:59 pm

Re: How do you put a PROMPT value of {{!VAR1} to js value

Post by Tom, Tech Support » Mon Jul 20, 2015 2:29 pm

Hi momonga,

Please see this note for the proper way to build and call macro code from within your script.
Regards,

Tom, iMacros Support
momonga
Posts: 2
Joined: Sun Jul 19, 2015 2:08 am

Re: How do you put a PROMPT value of {{!VAR1} to js value

Post by momonga » Sat Aug 08, 2015 2:14 am

thankyou replay
i read note
:D
Post Reply