Looking to have a simple Script written?

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
FRiehl
Posts: 2
Joined: Thu Jun 11, 2009 1:54 pm

Looking to have a simple Script written?

Post by FRiehl » Thu Jun 11, 2009 2:11 pm

Hello iMacros Pros:

My problem is I have no experience in wiriting Macros or scripting but this seems like it would be very simple.

I am looking for a simple macro to be written for iMacros for use in fire fox.

I need a macro that will open in the browser window a numerical series of urls.

In other words starting with 1 url that ends in a numerical series like http://www.exampleurl.com/0001/

I need to have that URL displayed in Firefox and once the page opens, create the next in the series by adding 1 to the numerical portion, paste to the address box and display the next URL, then repeat.

IE
http://www.exampleurl.com/0002/ ....display
http://www.exampleurl.com/0003/ ....display
http://www.exampleurl.com/0004/
and then loop until I manually stop the macro?
etc

Any help would be greatly appreciated and I appreciate your time.
dharmendra2000
Posts: 214
Joined: Fri Jul 04, 2008 1:28 pm
Location: Ahmedabad
Contact:

Re: Looking to have a simple Script written?

Post by dharmendra2000 » Tue Jun 16, 2009 4:45 am

MyScript.js

Code: Select all

for (i = 1000; i < 1099; i++)
{
iimSet ("myloop", i)
retcode = iimPlay("mysite.iim");
}
mysite.iim

Code: Select all

URL GOTO=http://www.exampleurl.com/{{myloop}}/
Its not a complete solution but It will help to solve your problem.
FRiehl
Posts: 2
Joined: Thu Jun 11, 2009 1:54 pm

Re: Looking to have a simple Script written?

Post by FRiehl » Tue Jun 16, 2009 11:54 am

Thanks for your help!
Post Reply