Page 1 of 1

Play Macro When Gmail receives an Email

Posted: Sun Jun 18, 2017 9:24 am
by HOC
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

Re: Play Macro When Gmail receives an Email

Posted: Mon Jun 19, 2017 6:38 am
by HOC
I'll pay if i have to ..

Re: Play Macro When Gmail receives an Email

Posted: Mon Jun 19, 2017 6:42 am
by iimfun
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!"

Re: Play Macro When Gmail receives an Email

Posted: Mon Jun 19, 2017 7:58 am
by HOC
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