Hello,
the EnableExclusive command sometimes doesn't work if it is executed by the holding macro.
Simply it seems to be ignored, no error message in log.
If i manually click the single command, it is working.
I tested it with other new created folders and macros so it couldn't be the folder/macro itself.
After a system restart it worked again for some time.
Maybe it is a memory problem?
Or any ideas what could be the problem?
stefan
EventGhost Version: 0.3.6.1449
SVN Revision: 458
Build Time: Do, 17 Jul 2008 20:02:01
Python Version: 2.5.2 final 0
wxPython Version: 2.8.7.1
PIL Version: 1.1.6
Platform: Windows-XP-5.1.2600-SP3
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.
EnableExclusive don't work
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: EnableExclusive don't work
Post an example XML.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Re: EnableExclusive don't work
Please see the attached xml.
Interesting is for example this part of code:
which links to here:
The config is still in process, the rest works very well!
Very customizable!! Great work
Thank you!
Interesting is for example this part of code:
Code: Select all
<Macro Name="StartTVMode" id="96">
<Action>
EventGhost.EnableExclusive(XmlIdLink(467))
</Action>
<Action>
EventGhost.NewJumpIf(XmlIdLink(468), 2, False)
</Action>
<Action>
EventGhost.StopProcessing()
</Action>
</Macro>
Code: Select all
<Folder Name="DVBViewer" id="467" Enabled="False">
<Macro Name="DVBViewer: Start DVBViewer" id="468">
<Action>
EventGhost.ShowOSD(u'Erfolgreich', u'0;-80;0;0;0;700;0;0;0;0;3;2;1;66;Comic Sans MS', (255, 255, 255), (0, 0, 0), 4, (0, 0), 0, 3.0, False)
</Action>
<Action>
DVBViewer.Start()
</Action>
<Action>
EventGhost.Wait(2.0)
</Action>
<Action>
EventGhost.StopProcessing()
</Action>
<Action>
EventGhost.FlushEvents()
</Action>
</Macro>
[ ... other macros ... ]
</Folder>
Very customizable!! Great work
- Attachments
-
- myConfig_2008-09-25.xml
- (76.48 KiB) Downloaded 108 times
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: EnableExclusive don't work
EnableExclusive applies the settings after the event is processed. This is to avoid circular behaviour. That's why the JumpIf is not working. You can work around this by using the TriggerEvent action.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Re: EnableExclusive don't work
Thank you for your hint, now everything works prefect.
Great program - great support as well!
Stefan
Great program - great support as well!
Stefan