Search found 10 matches

by rrawicz
Sun Sep 11, 2011 2:08 pm
Forum: Command Line and Scripting Interface
Topic: <!--#include file="other_file.js"-->
Replies: 2
Views: 1135

Re: <!--#include file="other_file.js"-->

I understand
the only question is why there is no such functionality
it will be very helpful
Please implement this
by rrawicz
Fri Sep 02, 2011 7:11 pm
Forum: Command Line and Scripting Interface
Topic: <!--#include file="other_file.js"-->
Replies: 2
Views: 1135

<!--#include file="other_file.js"-->

it is possible to include another file in the code *. js ?

example:
<!--#include file="other_file.js"-->
by rrawicz
Mon Jun 06, 2011 9:33 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Transfer of value to the variable - problem
Replies: 9
Views: 2196

Re: Transfer of value to the variable - problem

exactly what I wanted to get, thank you very much for your support.
Now my macro works correctly
by rrawicz
Sat Jun 04, 2011 9:16 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Transfer of value to the variable - problem
Replies: 9
Views: 2196

Re: Transfer of value to the variable - problem

ok, other way, 1. I want to get value of the field Word01 and put it to a variable! var1 2. I want to use the "Replace" function and replace the value of the variable! var1 3. I want to enter the changed value to a variable! var1 again I'm trying to do it like I showed below, but it does not work i ...
by rrawicz
Tue May 31, 2011 8:53 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Transfer of value to the variable - problem
Replies: 9
Views: 2196

Re: Transfer of value to the variable - problem

Hello rrawicz, How do you know that !VAR1 is not getting set to the value? Add the following to your script before you play macro2 so that you can see what the value of !VAR1 is in when your macro plays: macro2 += "PROMPT {{!VAR1}}" + "\n"; iimPlay(macro2); I know, because next step is save the val...
by rrawicz
Sun May 29, 2011 10:34 am
Forum: Data Extraction and Web Screen Scraping
Topic: Transfer of value to the variable - problem
Replies: 9
Views: 2196

Transfer of value to the variable - problem

H, a have problem like this in my *.js file I want to get the ID from the link and then forward it to the variable VAR1 as shown by the alert ID is correctly but variable VAR1 not receive any value, how can I define the variable correctly? var macro1, macro2, ID function Replace(str, co, na_co) {whi...
by rrawicz
Sat Jan 15, 2011 1:53 pm
Forum: Data Extraction and Web Screen Scraping
Topic: SyntaxError: wrong format of TAG command
Replies: 2
Views: 5332

SyntaxError: wrong format of TAG command

Hi, I have code as below, but unfortunately after starting I have an error: "SyntaxError: wrong format of TAG command, line: 1" look text_1 = "ab c" has space, if tex_1 = "abc" (without space) is OK, no error. Why? How fix it? thx var macro, macro2, p, gle, text_1 text_1 = "ab c" p = iimDisplay ("Be...
by rrawicz
Fri Jan 14, 2011 10:46 pm
Forum: Command Line and Scripting Interface
Topic: Value of !EXTRACT to JS - problem
Replies: 1
Views: 864

Value of !EXTRACT to JS - problem

I have problem, I need to enter two values and then display them, but I got an error. I get only the last value :( How fix it? var macro, iret; var jsLF = "\n"; var p var t macro = "CODE:"; { macro += "PROMPT Input_value1: !VAR1" + jsLF; macro += "SET !EXTRACT {{!VAR1}}" + jsLF; macro += "PROMPT Inp...
by rrawicz
Mon Jan 10, 2011 6:44 pm
Forum: Data Extraction and Web Screen Scraping
Topic: IF...THEN....ELSE... END IF
Replies: 1
Views: 795

IF...THEN....ELSE... END IF

How to get the functionality of the IF ... THEN ... ELSE .. END IF in a macro? For example: SET !EXTRACT NULL TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:units ATTR=ID:unit_input EXTRACT=TXT SET !VAR1 {{!EXTRACT}} SET !EXTRACT NULL IF {{!VAR1}}>100 THEN SET !VAR1 <value1> ELSE SET !VAR1 <value2> END IF is i...
by rrawicz
Sat Jan 08, 2011 1:49 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Subsstring form EXTRACT
Replies: 3
Views: 916

Subsstring form EXTRACT

Hi, I need to get only a portion of text from the function EXTRACT. For example, only the first 5 characters variable !var2 should contain only the first 5 characters of a variable !var1 how do it? my sample code: SET !EXTRACT NULL TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:* EXTRACT=TXT SET !VAR1 {{!EXTRA...