Hi guys I'm a new user of EG 0.3.7.r1387 on Windows 7 64-bit and i was trying to set open/close key on my remote... I'd like to have one only key to open and close applications like Mediamonkey, Bs Player, Xbmc... On MediaMonkey I've yet make a cyclic key to on off shuffle mode... But when I do the same on open and close application it doesn't go and execute all 2 command at the same time... So mediamonkey, for example, firsta start then close... I've used the the action enable exclusive to do that... I've created one folder for it... then inside 2 macro, in the macro there are Ir code, Start Program, MediaMonkey Action: Play, Enable exclusive: Exit/Disconnet mediamonkey. I've tryed also so make a close fuction focusing window and then close so in this casemy enable exsclusive was to Close Macro..
I've also the macro that when MediaMonkey Task it's activated it enable exsclusive media monkey folder... I don't know if this can create some trouble... Thank you for your help
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.
How to make a cyclic key to open and close application?
Re: How to make a cyclic key to open and close application?
the enable exclusive is the normal way to go.
Another approch would be a macro which is looking for an existing window from the application and use the conditinal jump action.
Another approch would be a macro which is looking for an existing window from the application and use the conditinal jump action.
Re: How to make a cyclic key to open and close application?
but the enable exclusive must be used with macros in the same folder? Or i can recall in each macro in different folder the other macro linked to the key?
And with jump i must insert it where? In the open macro? Telling it that if Mediamonkey it's open must to enable exclusive the close macro?
But however it's strange... I've make yet this for shuffle and it work great... Why for open/close it execute all 2 together?
And with jump i must insert it where? In the open macro? Telling it that if Mediamonkey it's open must to enable exclusive the close macro?
But however it's strange... I've make yet this for shuffle and it work great... Why for open/close it execute all 2 together?
Re: How to make a cyclic key to open and close application?
To enable the folders for each application you should also use the task plugin. this way the folders get executed also when the application is started outside from EG.BigBlack wrote:but the enable exclusive must be used with macros in the same folder? Or i can recall in each macro in different folder the other macro linked to the key?And with jump i must insert it where? In the open macro? Telling it that if Mediamonkey it's open must to enable exclusive the close macro?
You could also put the start action in a folder parallel to the applications folders and an exit action for each application in its folder.
The way with the jump would be.
find window
if last action was unsuccessfull jump to start action and don't return
close window
It executes all macros found for an event. You can use the "stop processing this event" macro but the order is not guaranteed.BigBlack wrote:But however it's strange... I've make yet this for shuffle and it work great... Why for open/close it execute all 2 together?
Re: How to make a cyclic key to open and close application?
The error was only in the order.... THe exclusive folder commad must be after the Ir Command... If at the end it doesn't go... I had put it at the end so that's why I've this problem.. Thank you for you help... Now the only problem that I've it's with Set Display Preset... It don't activate my second monitor... However i've opened this post for that.. http://www.eventghost.org/forum/viewtop ... f=2&t=2270 Thank you bye bye