Hello,
With the example file comes macro for "Switch to mode:"
In my case
Task.Activated.ehshell
Action: EnableExclusive(folder MCE with my command for this program on it)
It's working and I can make specific action on remote button for MCE
When I quit MCE, I see in the log:
Task.Deactivated.ehshell
Task.ClosedWindow.ehshell
Task.Destroyed.ehshell
ext...
But all other folder than "MCE" and macros on the tree remain disable.
My question is After quitting MCE program How-to "reactivate" all folder and macro on the main tree?
Thanks a lot for any help
Cheers
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 : "reactivate" folder
-
themaster1
- Experienced User
- Posts: 133
- Joined: Wed Feb 03, 2010 9:02 pm
Re: How to : "reactivate" folder
You must create a macro for each program in the Switch folder
ex for Videolan( Vlc)
Task.Activated.vlc (event)
Enable exclusive: VLC (action)
ex for Videolan( Vlc)
Task.Activated.vlc (event)
Enable exclusive: VLC (action)
Re: How to : "reactivate" folder
hello,
Thanks you themaster1,
That's what I've already done.
I've a macro:
1)<Macro Name="Switch to mode: MCE" Enabled="true">
<Event Name="Task.Activated.ehshell" />
<Action> EventGhost.EnableExclusive(XmlIdLink(30))
2)<Macro Name="Switch to mode: Media Player Classic" Enabled="true">
<Event Name="Task.Activated.mpc-hc" />
<Action> EventGhost.EnableExclusive(XmlIdLink(56))
When EG activate exclusive folder MCE on the launching of ehshell, it also deactivate all other folder and macro on the main tree.
But when I quit MCE
Task.Deactivated.ehshell
Task.ClosedWindow.ehshell
Task.Destroyed.ehshell
I don't have a macro or something else to "reactivate" all the tree
So if after quit MCE, I open Media Player Classic , EG doesn't execute the macro "Switch to mode: Media Player Classic" because is still in deactivated mode generated by the my opening of MCE
If I manually reactivate all the component on the tree and open "Media Player Classic is own macro "Switch to mode: Media Player Classic" works and all the tree is deactivated except the folder "Media Player Classic"
But sames problem when I quit "Media Player Classic" the tree isn't reactivated.
Thanks a lot for your advises
Cheers
Thanks you themaster1,
That's what I've already done.
I've a macro:
1)<Macro Name="Switch to mode: MCE" Enabled="true">
<Event Name="Task.Activated.ehshell" />
<Action> EventGhost.EnableExclusive(XmlIdLink(30))
2)<Macro Name="Switch to mode: Media Player Classic" Enabled="true">
<Event Name="Task.Activated.mpc-hc" />
<Action> EventGhost.EnableExclusive(XmlIdLink(56))
When EG activate exclusive folder MCE on the launching of ehshell, it also deactivate all other folder and macro on the main tree.
But when I quit MCE
Task.Deactivated.ehshell
Task.ClosedWindow.ehshell
Task.Destroyed.ehshell
I don't have a macro or something else to "reactivate" all the tree
So if after quit MCE, I open Media Player Classic , EG doesn't execute the macro "Switch to mode: Media Player Classic" because is still in deactivated mode generated by the my opening of MCE
If I manually reactivate all the component on the tree and open "Media Player Classic is own macro "Switch to mode: Media Player Classic" works and all the tree is deactivated except the folder "Media Player Classic"
But sames problem when I quit "Media Player Classic" the tree isn't reactivated.
Thanks a lot for your advises
Cheers
-
themaster1
- Experienced User
- Posts: 133
- Joined: Wed Feb 03, 2010 9:02 pm
Re: How to : "reactivate" folder
well normally the folders should be organized as follow:
-context folder
-Switch (sub folder)
- activate/reactivate MCE
- activate/reactivate MPC
-Programs (sub folder)
- MCE
- MPC
So if you make a macro in the switch sub folder to activate/reactivate MCE and use enable exclusive eventghost should be able to auto-switch.If it's not working i don't know you should try using the OS menu, have a look at the .xml i have uploaded the other day to have an idea www.mediafire.com/?7q5viz5bj5l474i
-context folder
-Switch (sub folder)
- activate/reactivate MCE
- activate/reactivate MPC
-Programs (sub folder)
- MCE
- MPC
So if you make a macro in the switch sub folder to activate/reactivate MCE and use enable exclusive eventghost should be able to auto-switch.If it's not working i don't know you should try using the OS menu, have a look at the .xml i have uploaded the other day to have an idea www.mediafire.com/?7q5viz5bj5l474i
Re: How to : "reactivate" folder
hello,
Thanks you very much themaster1,
I've downloaded your xml file, I've to learn how it works.
See you, there Cheers

Thanks you very much themaster1,
I've downloaded your xml file, I've to learn how it works.
See you, there Cheers