Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Trigger event if Chrome browser notification pops up

If you have a question or need help, this is the place to be.
tzr916
Posts: 28
Joined: Wed Aug 16, 2017 11:35 pm
Location: Northern California

Trigger event if Chrome browser notification pops up

Post by tzr916 »

Just looking at the EG log, It don't show anything when I get a pop up notification from chrome browser. Is there any way EG can monitor/see that pop up?
jachin99
Experienced User
Posts: 614
Joined: Sat Feb 13, 2016 8:39 pm

Re: Trigger event if Chrome browser notification pops up

Post by jachin99 »

There is some kind of google chrome plugin but I don't know much about it. Search the forums, and see what you can come up with
User avatar
Boolean263
Plugin Developer
Posts: 81
Joined: Sat Aug 12, 2017 7:52 pm
Location: Ottawa, Canada
Contact:

Re: Trigger event if Chrome browser notification pops up

Post by Boolean263 »

I found this thread, but it's pretty old, and it sounds like the Chrome add-on in question isn't being actively developed.
Windows 10 Home, version 1703, build 15063.540 ┬À EventGhost 0.5.0-rc4 ┬À wxPython 3.0.2.0
Python programmer for fun and profit. Dabbler in EventGhost plugin writing. Wiki gardener. General geek.
tzr916
Posts: 28
Joined: Wed Aug 16, 2017 11:35 pm
Location: Northern California

Re: Trigger event if Chrome browser notification pops up

Post by tzr916 »

Is there a way for EG to monitor when the pc plays a certain sound file? Perform an action when that sound is played on the PC?
jachin99
Experienced User
Posts: 614
Joined: Sat Feb 13, 2016 8:39 pm

Re: Trigger event if Chrome browser notification pops up

Post by jachin99 »

Why would you want to use a sound file? i'm guessing if a program plays a sound then that program probably also sends a notification of some kind? What sound are you looking for, and for which program?
tzr916
Posts: 28
Joined: Wed Aug 16, 2017 11:35 pm
Location: Northern California

Re: Trigger event if Chrome browser notification pops up

Post by tzr916 »

Chrome browser pops up a notification in the corner of the screen and plays a sound.

Since EG can't be triggered by the screen pop up notification, can EG be triggered by the sound that Chrome plays?
jachin99
Experienced User
Posts: 614
Joined: Sat Feb 13, 2016 8:39 pm

Re: Trigger event if Chrome browser notification pops up

Post by jachin99 »

When does chrome do this? Are you trying to trigger an event from an app notification inside of chrome? If so, then which app and why. I might have to look at that EG plugin for chrome
tzr916
Posts: 28
Joined: Wed Aug 16, 2017 11:35 pm
Location: Northern California

Re: Trigger event if Chrome browser notification pops up

Post by tzr916 »

No it's not an app. It is a just a website (that requires logging in with my credentials). So it's the default Chrome notification function. In the Chrome browser privacy > notification section it is listed like this - example.com:80
jachin99
Experienced User
Posts: 614
Joined: Sat Feb 13, 2016 8:39 pm

Re: Trigger event if Chrome browser notification pops up

Post by jachin99 »

It looks like that lets chrome send notifications to a web browser (This is my GUESS but I think its a logical one). Try putting your machine's IP address in that box and see what happens. If your not sure how to do that, let me know. The example.com would be a web site or IP address I'm guessing, and the 80 is the port so it would look something like 192.168.1.12:80 where the 192.xxx number is your IP, and 80 is the port. I know the chrome EG plugin required a webserver so i'm guessing that you configure this to send the notification to the EG web server, and use that to trigger a macro.
tzr916
Posts: 28
Joined: Wed Aug 16, 2017 11:35 pm
Location: Northern California

Re: Trigger event if Chrome browser notification pops up

Post by tzr916 »

Put my machine address "192.168.1.x:80" into what box?
jachin99
Experienced User
Posts: 614
Joined: Sat Feb 13, 2016 8:39 pm

Re: Trigger event if Chrome browser notification pops up

Post by jachin99 »

Sorry, I don't have it installed, and I assumed that you could forward notifications in chrome without any addins. I think the whole idea your looking for is to forward notifications to EG correct? If so, maybe you should look into pushbullet. There is a working plugin for both google chrome, and EG. Can you describe to me exactly what your trying to do, or what action your trying to trigger? That might help if there is some other way to accomplish what you want. Here is a link to the EG pushbullet plugin. viewtopic.php?f=9&t=5709&hilit=pushbullet
tzr916
Posts: 28
Joined: Wed Aug 16, 2017 11:35 pm
Location: Northern California

Re: Trigger event if Chrome browser notification pops up

Post by tzr916 »

Simply want EG to immediately mouse click on the Chrome notification pop-up.
jachin99
Experienced User
Posts: 614
Joined: Sat Feb 13, 2016 8:39 pm

Re: Trigger event if Chrome browser notification pops up

Post by jachin99 »

Why is that? Do you want to supress the notification, or does clicking the notification perform some action that you want to have happen?
tzr916
Posts: 28
Joined: Wed Aug 16, 2017 11:35 pm
Location: Northern California

Re: Trigger event if Chrome browser notification pops up

Post by tzr916 »

Mouse clicking on the notification popup simply opens a new chrome tab to the webpage link that's contained in the notification.
jachin99
Experienced User
Posts: 614
Joined: Sat Feb 13, 2016 8:39 pm

Re: Trigger event if Chrome browser notification pops up

Post by jachin99 »

So you want to open a webpage when you get a notification from a certain application or site. What app or site do you need a notification from, and what site or address do you want to navigate to?
Post Reply