How to : "reactivate" folder

If you have a question or need help, this is the place to be.

How to : "reactivate" folder

Postby mywayfr » Wed Apr 11, 2012 4:37 pm

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
mywayfr
 
Posts: 9
Joined: Fri Apr 06, 2012 8:18 am

Re: How to : "reactivate" folder

Postby themaster1 » Thu Apr 12, 2012 6:26 am

You must create a macro for each program in the Switch folder

ex for Videolan( Vlc)

Task.Activated.vlc (event)
Enable exclusive: VLC (action)
themaster1
Experienced User
 
Posts: 105
Joined: Wed Feb 03, 2010 9:02 pm

Re: How to : "reactivate" folder

Postby 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
mywayfr
 
Posts: 9
Joined: Fri Apr 06, 2012 8:18 am

Re: How to : "reactivate" folder

Postby themaster1 » Thu Apr 12, 2012 4:25 pm

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
themaster1
Experienced User
 
Posts: 105
Joined: Wed Feb 03, 2010 9:02 pm

Re: How to : "reactivate" folder

Postby mywayfr » Thu Apr 12, 2012 7:53 pm

hello,

Thanks you very much themaster1,

I've downloaded your xml file, I've to learn how it works.

See you, there Cheers :D :D :D
mywayfr
 
Posts: 9
Joined: Fri Apr 06, 2012 8:18 am


Return to General Support

Who is online

Users browsing this forum: No registered users and 0 guests