I do not like to use Task plugin, because it generates too many events.
That's why I create greatly simplified replacement - Application Observer plugin.
He generates events only when you start and end application. And that's only for those applications that you choose.I do not know if someone is interested, but maybe yes.
Pako
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.
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.
Application Observer
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Application Observer
- Attachments
-
- __init__.py
- Plugin Application Observer - version 0.0.4
Added 2011-06-19 - (9.34 KiB) Downloaded 763 times
-
- __init__.py
- Plugin Application Observer - version 0.0.2
- (9.84 KiB) Downloaded 465 times
Re: Application Observer
Can you give an examples of usage?
I'd like to understand how this differs vs triggering Macros based on the following...
Task.Created
Task.NewWindow
Task.ClosedWindow
Task.Activated
Task.Deactivated
thx
I'd like to understand how this differs vs triggering Macros based on the following...
Task.Created
Task.NewWindow
Task.ClosedWindow
Task.Activated
Task.Deactivated
thx
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Application Observer
Here is an example of the contents of the log,if I added plugins Task Create/Switch Events and Application observer to the configuration.
Then I opened a text file in notepad and again I closed it.
I think it is clear that correlations:
Application.Launched.XXX corresponds Task.Created.XXX and
Application.Terminated.XXX corresponds Task.Destroyed.XXX
BTW: what about the testing function Window: Move Absolute?
I see that you're doing a very thorough test.
Pako
Then I opened a text file in notepad and again I closed it.
I think it is clear that correlations:
Application.Launched.XXX corresponds Task.Created.XXX and
Application.Terminated.XXX corresponds Task.Destroyed.XXX
BTW: what about the testing function Window: Move Absolute?
I see that you're doing a very thorough test.
Pako
Re: Application Observer
work and my 1 yr old have been keeping me too busy to really test too much. I have added move absolute but not enabled it yet... maybe tomorrow or this weekend.
I still don't understand how Application Observer provides anything beyond using native triggers?
how is Application.Launched more useful than Task.Created?
I still don't understand how Application Observer provides anything beyond using native triggers?
how is Application.Launched more useful than Task.Created?
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Application Observer
Here's something else entirely. I never claimed that it was more useful.Livin wrote:how is Application.Launched more useful than Task.Created?
Note: Because I am constantly experimenting with EventGhost, I do not use the option Log only activated and assigned events.Pako wrote:I do not like to use Task plugin, because it generates too many events.
I do not need events like Task.NewWindow, Task.ClosedWindow, Task.Activated, Task.Deactivated.
Pako
Last edited by Pako on Wed Oct 13, 2010 5:48 am, edited 1 time in total.
Re: Application Observer
gotcha... I also keep that option unchecked but I use the Task Plugin since it is useful to see what state an app is in and base Macros on them.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
Re: Application Observer
Hi Pako!
I┬┤m want to use your plugin to control a program called DSynchronize.exe.
It┬┤s proper configured, but I don┬┤t get any event after starting/closing the program.
Do you have any idea what the problem could be?
The "task create/switch events" plugin also doesn┬┤t recognize the program at all....
If I add "c:\windows\notepad.exe" it┬┤s also NOT recognized by your plugin, but recognized by the "task create/switch events" plugin.
Strange thing....
btw: I┬┤m using Win7 HP 32bit....
I┬┤m want to use your plugin to control a program called DSynchronize.exe.
It┬┤s proper configured, but I don┬┤t get any event after starting/closing the program.
Do you have any idea what the problem could be?
The "task create/switch events" plugin also doesn┬┤t recognize the program at all....
If I add "c:\windows\notepad.exe" it┬┤s also NOT recognized by your plugin, but recognized by the "task create/switch events" plugin.
Strange thing....
btw: I┬┤m using Win7 HP 32bit....
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Application Observer
I thought the only one reason for this behavior:schindi77 wrote:If I add "c:\windows\notepad.exe" it┬┤s also NOT recognized by your plugin, but recognized by the "task create/switch events" plugin.
Strange thing....
Applications you want to observe, you must insert without a path. Thus, only "notepad.exe".
Look at the picture in the introductory article of this topic.
Pako