I'd like to have a keyboard command execute when a specific application (MCE) is minimized or closed completely. However LearnEvent doesn't seem to recognize these sort of events. Any ideas?
I'd like to have a keyboard command execute when a specific application (MCE) is minimized or closed completely. However LearnEvent doesn't seem to recognize these sort of events. Any ideas?
CJSnet
Look at the taskcreate and taskswitch plugins
Cool ok that kinda works. I set it to perform a keyboard shortcut (to change desktop resolution) each time MCE is closed or minimized. (I had previously set on to change it each time it was opened, so this one is to change it back again.)
Problem is, it responds to ANY program being minimized or closed! The Event is correctly recorded as ehshell.exe and I have to tick Invert for it to work, so why is it actioning it when I minimize any other application too? I want it to happen only with a specific app.
CJSnet
Should be application specific....
Maybe someoneelse has an idea...
These plugins won't give you a special "minimize" event. TaskSwitch will only give you an event everytime a task gets focus. So if you minimize a window you actually give the program behind it focus and the plugin will give you the name of the task.
This might be the problem you encounter, as your wanted "ehshell.exe" gets focus and your command gets triggered.
It might be possible to get arround this problem with a "Girder/Window Exists" branch action that is triggered from all TaskSwitch events.
The TaskCreate events like "ehshell.exe [CLOSE]" should work as wanted, but only for a complete close of the program.
Bitmonster
Okay, getting there. I now have just MCE Close working with Taskswitch as desired.
As for MCE Minimize, can you help me as to how to get the Girder>Window Exists to interoperate with Taskswitch. I guess the idea is that the MCE Minimize Taskswitch will only work if the MCE window exists? I'm not clear how to do that. Have tried Help. Thanks!
CJSnet
Yes, you got the point.
The idea is to create a "window exists" command with the MCE window as target. This command should be triggered from every TaskSwitch event (so you have to learn it to MCE and invert it actually)
On the bottom of this Girder action you find two browse buttons. Here you can branch to two different commands if the window exists or not (some kind of if-then-else clause). So you let one point to your desired command and the other to nirvana.
Bitmonster
Please excuse my ignorance, I really don't know what I'm supposed to do :$
Basically this is all I want:
When MCE is maximized, execute keyboard shortcut Alt+1
When MCE is not maxmized (e.g. windowed, minimized or closed), execute keyboard shortcut Alt+2
This is to allow nView to switch resolutions.
Please, I'm sorry to ask, but can you talk me through exactly what to do to enable this. I've fiddled with all you suggest above, but no good![]()
CJSnet
Sorry, this is not possible this way. Girder can't notice the change between windowed and maximized, because TaskSwitch will not create an event for this.Originally Posted by CJSnet
Bitmonster
TaskSwitch aside, is there any other way to use girder to 'minimize all' windows? (And maximize all later)
CJSnet