Play Macro When Gmail receives an Email

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
HOC
Posts: 3
Joined: Sun Jun 18, 2017 9:07 am

Play Macro When Gmail receives an Email

Post by HOC » Sun Jun 18, 2017 9:24 am

Hello.

I'm kinda new to this but i recorded a Macro but i can't figure out how to play it immediately when the open tap of a gmail inbox receives a new message ? if someone can explain to me how to do that it would be much appreciated.

Info:
Google chrome Version 59.0.3071.104. VERSION BUILD=844 . Windows 10 Pro
HOC
Posts: 3
Joined: Sun Jun 18, 2017 9:07 am

Re: Play Macro When Gmail receives an Email

Post by HOC » Mon Jun 19, 2017 6:38 am

I'll pay if i have to ..
iimfun
Posts: 239
Joined: Tue Jul 19, 2016 1:06 pm

Re: Play Macro When Gmail receives an Email

Post by iimfun » Mon Jun 19, 2017 6:42 am

I believe the macro below will work for any mail service. Something like this

Code: Select all

SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=TITLE ATTR=* EXTRACT=TXT
SET !TIMEOUT_STEP 999999
TAG XPATH="//title[not(text()='{{!EXTRACT}}')]"

' here is the code of your macro, for instance
PROMPT "Your macro is about to be played!"
HOC
Posts: 3
Joined: Sun Jun 18, 2017 9:07 am

Re: Play Macro When Gmail receives an Email

Post by HOC » Mon Jun 19, 2017 7:58 am

iimfun wrote:I believe the macro below will work for any mail service. Something like this

Code: Select all

SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=TITLE ATTR=* EXTRACT=TXT
SET !TIMEOUT_STEP 999999
TAG XPATH="//title[not(text()='{{!EXTRACT}}')]"

' here is the code of your macro, for instance
PROMPT "Your macro is about to be played!"
Thank you so much it worked :D
Post Reply