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++.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

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

by momonga on Sat Jul 18, 2015 7:33 pm

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.
momonga
 
Posts: 2
Joined: Sat Jul 18, 2015 7:08 pm

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

by Tom, Tech Support on Mon Jul 20, 2015 7:29 am

Hi momonga,

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

Tom, iMacros Support
Tom, Tech Support
 
Posts: 3300
Joined: Mon May 31, 2010 9:59 am

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

by momonga on Fri Aug 07, 2015 7:14 pm

thankyou replay
i read note
:D
momonga
 
Posts: 2
Joined: Sat Jul 18, 2015 7:08 pm


Return to Scripting and Command Line Interface

Who is online

Users browsing this forum: No registered users and 3 guests

-->