by mywayfr » Thu Apr 12, 2012 1:19 pm
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