How to Shift to Next tab when the Current Tab working?

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
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
soulgeek
Posts: 16
Joined: Sat Jan 23, 2010 6:25 am
Contact:

How to Shift to Next tab when the Current Tab working?

Post by soulgeek » Sun Mar 07, 2010 11:45 am

Folks,

when i open a tab, it has some processing which takes 1 minute, while its working i want to Open another tab and do one more processing , and again , i open one more tab till the earlier one is working.... And so on.... So i do not have to wait till the Processign in one tab gets over...

I already have done a Macro But, this one is not going to a New tab untill the processing in the Current tab Gets Over... :roll:

Code: Select all

VERSION BUILD=6900210     
'TAB T=1
'TAB CLOSEALLOTHERS     
SET !ERRORIGNORE YES
SET !DATASOURCE amazon_search_2.csv
'SET !DATASOURCE product_search.csv
SET !DATASOURCE_COLUMNS 4
SET !LOOP 2   
SET !DATASOURCE_LINE {{!LOOP}}
'Input the New URL
URL GOTO=http://bulliesatwork.co.uk/wp-admin/admin.php?page=amaniche/search.php
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=NAME:keyword CONTENT={{!COL1}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=NAME:category CONTENT={{!COL2}}
TAG POS=1 TYPE=SELECT FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=NAME:main_category CONTENT=$*{{!COL3}}*
TAG POS=1 TYPE=SELECT FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=NAME:num_results CONTENT=%10
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=VALUE:submit
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=NAME:keyword CONTENT={{!COL1}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=NAME:category CONTENT={{!COL3}} 
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=NAME:chkAll CONTENT=YES
TAG POS=1 TYPE=SELECT FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=NAME:postcats[] CONTENT=$*{{!COL4}}*
TAG POS=1 TYPE=SELECT FORM=ACTION:/wp-admin/admin.php?page=amaniche/search.php ATTR=NAME:dripfeed CONTENT=%5
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:myform ATTR=VALUE:submit
SET !TIMEOUT 1000	
TAB OPEN NEW
TAB T={{!LOOP}}
WAIT SECONDS=10




May someone suggest what Code Change Needed?
Daniel, Tech Support
Posts: 1483
Joined: Tue Jan 26, 2010 11:35 am

Re: How to Shift to Next tab when the Current Tab working?

Post by Daniel, Tech Support » Tue Mar 09, 2010 9:03 pm

Hello,

I am afraid that you would need to break the macro into 2 in this case, there is no multi-threading built-in into iMacros.

Best regards,
Daniel, iOpus Support
Post Reply