I can add multiple actions to a multiples events?
I want to disable various folders when internet explorer and firefox are closed (no only one closed)
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.
I can add multiple actions to a event?
Re: I can add multiple actions to a event?
Here is one way. Copy & paste it into your config tree.
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1484">
<Folder Name="Browser-check" Expanded="True">
<Macro Name="check opened browser">
<Event Name="Task.Destroyed.iexplore" />
<Event Name="Task.Destroyed.firefox" />
<Action>
Window.FindWindow(u'iexplore.exe', None, None, None, None, None, False, 0.0, 2)
</Action>
<Action>
EventGhost.NewJumpIf(XmlIdLink(793), 0, False)
</Action>
<Action>
Window.FindWindow(u'firefox.exe', None, None, None, None, None, False, 0.0, 2)
</Action>
<Action>
EventGhost.NewJumpIf(XmlIdLink(793), 0, False)
</Action>
<Action>
EventGhost.ShowOSD(u'IE & FF are down', u'0;-32;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (0, 255, 0), (0, 0, 0), 4, (0, 0), 0, 3.0, False)
</Action>
<Action Name="IE and Firefox are closed, dow whatever you want">
EventGhost.Comment()
</Action>
</Macro>
<Macro Name="IE or FF is opened" id="793">
<Action>
EventGhost.ShowOSD(u'IE or FF is opened', u'0;-32;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (0, 255, 0), (0, 0, 0), 4, (0, 0), 0, 3.0, False)
</Action>
</Macro>
</Folder>
</EventGhost>Re: I can add multiple actions to a event?
Thx!
Sorry for my "noobness"
but..how I can add this code to my config tree?
Sorry for my "noobness"
Re: I can add multiple actions to a event?
Copy (Control + C ) the entire contents of the "code" area (white area) and paste (CONTROL + V) into the main windows of EventGhost.
It should add all of the entries automatically after pasting.
Hot damn, Eventghost rules!
It should add all of the entries automatically after pasting.
Hot damn, Eventghost rules!
Re: I can add multiple actions to a event?
Agreedstisev wrote:Hot damn, Eventghost rules!
Windows XP Pro sp3 - Several Machines usually latest beta but who knows.
Inputs: TCP / IR (USBUIRT) / RF(X10 Remote) / CLI-Batch / CCTV Motion / Ocelot
Outputs: TCP / IR (USBUIRT) / SageTV / SageTV Clients / YAC CallerID / HAL v3.7.3 / Ocelot
Inputs: TCP / IR (USBUIRT) / RF(X10 Remote) / CLI-Batch / CCTV Motion / Ocelot
Outputs: TCP / IR (USBUIRT) / SageTV / SageTV Clients / YAC CallerID / HAL v3.7.3 / Ocelot
Re: I can add multiple actions to a event?
wow!works!
thx!
thx!