- Mar 22, 2013
- 9,142
- 10,489
I need to do one of two things with iMacros for Firefox.
Have a script change the X/Y coordinates on each loop, the coordinates to be pulled from a text file.
Example:
So you see what I'm saying. Say I insert 5 rows in a text file and play my script at 5 loops, I want it to go through them one by one and use that to click the X/Y in my code.
The example above does not work.
---
If that's not possible, maybe it's possible to pull the entire line from a text file.
For example:
Is it possible to do these things, or at least one of them?
Have a script change the X/Y coordinates on each loop, the coordinates to be pulled from a text file.
Example:
SET !ERRORIGNORE YES
SET !TIMEOUT_PAGE 20
SET !DATASOURCE C:\Users\USER\Documents\iMacros\Datasources\file.txt
SET !DATASOURCE_COLUMNS 2
SET !DATASOURCE_LINE {{!LOOP}}
WAIT SECONDS=5
CLICK X={{!COL1}} Y={{!COL2}}
WAIT SECONDS=5
So you see what I'm saying. Say I insert 5 rows in a text file and play my script at 5 loops, I want it to go through them one by one and use that to click the X/Y in my code.
The example above does not work.
---
If that's not possible, maybe it's possible to pull the entire line from a text file.
For example:
SET !ERRORIGNORE YES
SET !TIMEOUT_PAGE 20
SET !DATASOURCE C:\Users\USER\Documents\iMacros\Datasources\L4L1.txt
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE_LINE {{!LOOP}}
WAIT SECONDS=5
USE={{!COL1}} --------> and this pulls the entire line I need and uses it to click (CLICK X=100 Y=200)
WAIT SECONDS=5
Is it possible to do these things, or at least one of them?