TaskMonitorPlus plugin - v0.0.5

Questions and comments specific to a particular plugin should go here.
User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: TaskMonitorPlus plugin - v0.0.5

Post by kgschlosser » Tue Sep 11, 2018 7:51 pm

@pralima87

there is a Samsung TV Network control plugin available for EG. located HERE

It to can even turn the TV on and it supports all Samsung TV's from the C series (2011 i believe) up to the current. 8) :wink:
it is also made to run on EG 0.5 as well :D
If you like the work I have been doing then feel free to Image

pralima87
Posts: 11
Joined: Tue Sep 11, 2018 3:36 pm

Re: TaskMonitorPlus plugin - v0.0.5

Post by pralima87 » Wed Sep 12, 2018 1:47 pm

Wow that is awesome!

Olit2000
Posts: 2
Joined: Sun Jan 05, 2020 9:34 am

Re: TaskMonitorPlus plugin - v0.0.5

Post by Olit2000 » Sun Jan 05, 2020 9:36 am

The attachments are broken. Can someone please shart the lates version or how to build the plugin manually?

User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: TaskMonitorPlus plugin - v0.0.5

Post by kgschlosser » Fri Jan 10, 2020 6:20 am

here you go
Attachments
TaskMonitorPlus-0.0.5.egplugin
(10.21 KiB) Downloaded 73 times
If you like the work I have been doing then feel free to Image

Olit2000
Posts: 2
Joined: Sun Jan 05, 2020 9:34 am

Re: TaskMonitorPlus plugin - v0.0.5

Post by Olit2000 » Fri Jan 10, 2020 4:17 pm

Thank you!

User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: TaskMonitorPlus plugin - v0.0.5

Post by kgschlosser » Fri Jan 10, 2020 7:02 pm

no worries m8
If you like the work I have been doing then feel free to Image

benfucius
Posts: 1
Joined: Thu Jan 21, 2021 12:44 am

Re: TaskMonitorPlus plugin - v0.0.5

Post by benfucius » Thu Jan 21, 2021 2:17 pm

Sorry if this is an old thread, but it's the only place I know to ask this question about the plugin :shock:

I am trying to do a simple action, but I'm not too experienced with Python to know how to make it happen with TaskMonitorPlus.

So far, I use EventGhost to detect a certain Window being brought to the front, and trigger a workflow thereafter. However, sometimes I minimize that Window earlier than I want the workflow to trigger (perhaps I accidentally opened the Window, and so by minimizing it I want to stop the workflow from continuing).

What I'm working on so far is this:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="0.5.0-rc6">
    <Macro Name="Messenger - Detector" XML_Guid="{22F3DC5A-A3D3-4348-8546-908158074079}" Expanded="True">
        <Event Name="TaskMonitorPlus.Activated.Messenger for Desktop" XML_Guid="{112CC07C-9299-4FDE-A9E9-793F3AF3D87C}" />
        <Action XML_Guid="{5DE40D64-0EC6-4551-835F-F3CC971F7820}">
            EventGhost.Wait(2.0)
        </Action>
        <Action XML_Guid="{F0E29AE4-C7E2-4FB3-B2C0-A7751D569636}">
            EventGhost.PythonScript(u'if eg.event.payload.IsActive() is not "True":\n    eg.StopMacro()')
        </Action>
        <Action XML_Guid="{5A5A23E7-0724-45E3-A7E8-4C13E6FF3824}">
            EventGhost.ShowMessageBox(u'Workflow stopped', u'Window was minimized before it can continue.', u'', u'', False, 28672, 1, 1)
        </Action>
    </Macro>
</EventGhost>
I'm struggling with the Python Script part. I was reading the documentation on github and see there are multiple options that might fit my need: HasFocus() or IsActive() or IsAlive() but what I cannot figure out is how to write the python if those return FALSE then to stop the workflow. You'll see I have the then eg.StopMacro() in place, but the first part is confusing me.

Can anyone help me figure this out? I'm sure it's a simple thing that I'm overlooking!

Post Reply