Imacros
Need help in changing text in url and other area
VERSION BUILD=7220523 RECORDER=FX
TAB T=1
URL GOTO=http://abc/xyz/4261711/*.*
TAG POS=1 TYPE=A ATTR=ID:WPC-action_moreTools
TAG POS=2 TYPE=A ATTR=ID:WPC-action_deleteThread?threadId=4261711&deleteType=pageThread
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:WPC-deleteThreadForm ATTR=ID:WPC-deleteThreadSubm
I want to increase the number 4261711 by 1 each time and perform the command
ALSO< IN CASE OF ANY ERROR I WANT IT MOVE TO NEXT NUMBER
Please help..it is damn urgent
Need help in changing URL
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
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
-
- Posts: 1
- Joined: Wed Jun 15, 2011 6:37 pm
Re: Need help in changing URL
you could potentially run it like this:
VERSION BUILD=7220523 RECORDER=FX
TAB T=1
URL GOTO=http://abc/xyz/{{!LOOP}}/*.*
TAG POS=1 TYPE=A ATTR=ID:WPC-action_moreTools
TAG POS=2 TYPE=A ATTR=ID:WPC-action_deleteThread?threadId={{!LOOP}}&deleteType=pageThread
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:WPC-deleteThreadForm ATTR=ID:WPC-deleteThreadSubm
but it'll take forever to get where you want it to be, the scripting interface would be your best bet, as that would allow you to continue on error as well.
VERSION BUILD=7220523 RECORDER=FX
TAB T=1
URL GOTO=http://abc/xyz/{{!LOOP}}/*.*
TAG POS=1 TYPE=A ATTR=ID:WPC-action_moreTools
TAG POS=2 TYPE=A ATTR=ID:WPC-action_deleteThread?threadId={{!LOOP}}&deleteType=pageThread
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:WPC-deleteThreadForm ATTR=ID:WPC-deleteThreadSubm
but it'll take forever to get where you want it to be, the scripting interface would be your best bet, as that would allow you to continue on error as well.
-
- Posts: 9
- Joined: Thu Jun 16, 2011 2:14 pm
Re: Need help in changing URL
good job /
-
- Posts: 3834
- Joined: Mon May 31, 2010 4:59 pm
Re: Need help in changing URL
I'm not sure what Matt meant by this. You can set the start value of your loop in your macro code, then just set the Max. value on the Play tab of the iMacros sidebar to be greater than the start value and use Play (Loop) to loop the macro.MattBell7 wrote: but it'll take forever to get where you want it to be
For example, to loop from 4261711 to 426811:
Code: Select all
VERSION BUILD=7220523 RECORDER=FX
TAB T=1
SET !LOOP 4261711
URL GOTO=http://abc/xyz/{{!LOOP}}/*.*
TAG POS=1 TYPE=A ATTR=ID:WPC-action_moreTools
TAG POS=2 TYPE=A ATTR=ID:WPC-action_deleteThread?threadId={{!LOOP}}&deleteType=pageThread
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:WPC-deleteThreadForm ATTR=ID:WPC-deleteThreadSubm
Regards,
Tom, iMacros Support
Tom, iMacros Support