URL Sequencing

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

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
Graeme
Posts: 1
Joined: Sun Jan 11, 2009 9:20 pm

URL Sequencing

Post by Graeme » Sun Jan 11, 2009 9:32 pm

Hi, I'm totally new to imacros and most programming in fact so this is most likely a very simple question.

What code do I need to write to choose the next URL in a sequence? So for example id=1125* so the * is where I want it to go through each number from 0-9.

Thanks
dharmendra2000
Posts: 214
Joined: Fri Jul 04, 2008 1:28 pm
Location: Ahmedabad
Contact:

Re: URL Sequencing

Post by dharmendra2000 » Mon Jan 12, 2009 9:31 am

You can do it using Java Script, You can start Loop from 11251 to 11259 (or so on, based on your requirements). Pass this value to macro and execute Java Script.

You will get required URLs one by one.
MyJavaScript.js

Code: Select all

for(i=11251;i<11259;i++)
{
	iimSet("myloop", i)
	iimPlay("a.iim")
}
a.iim

Code: Select all

VERSION BUILD=6060801 RECORDER=FX
TAB T=1
URL GOTO=.........id={{myloop}}
Post Reply