Active script on specific URL?

Discussions and Tech Support related to the iMacros Google Chrome extension.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Active script on specific URL?

by lodlum on Sun Nov 12, 2017 10:08 am

Is it possible to activate a macro when on a specific website?
Like
Code: Select all
if URL = (URL);
(macro)
lodlum
 
Posts: 5
Joined: Sun Nov 12, 2017 9:38 am

Re: Active script on specific URL?

by iimfun on Mon Nov 13, 2017 1:12 am

Let's assume that your specific website has a specific element on the page. For instance the title named "Some specific title". In this case you can make the macro wait until it appears and then continue with other commands.

Code: Select all
SET !TIMEOUT_STEP 999999999
TAG POS=1 TYPE=TITLE ATTR=TXT:"Some specific title"
' next commands
iimfun
 
Posts: 239
Joined: Tue Jul 19, 2016 6:06 am

Re: Active script on specific URL?

by lodlum on Mon Nov 13, 2017 9:31 am

iimfun wrote:Let's assume that your specific website has a specific element on the page. For instance the title named "Some specific title". In this case you can make the macro wait until it appears and then continue with other commands.

Code: Select all
SET !TIMEOUT_STEP 999999999
TAG POS=1 TYPE=TITLE ATTR=TXT:"Some specific title"
' next commands


Thanks! Works perfectly :)
lodlum
 
Posts: 5
Joined: Sun Nov 12, 2017 9:38 am


Return to iMacros for Chrome

Who is online

Users browsing this forum: No registered users and 4 guests

-->