August 2nd, 2004, 08:07 AM
$20 to anyone who can write this GML
I'm not experienced with Girder and sadly have no time to get to grips with the features, however I can pay $20 via PayPal to the first person to reply here with a link to a GML file (or precise step-by-step instructions on how to create one) that does the following:
When MCE is detected as running, peform the following:
Restore the window so it is windowed not maximised
Switch audio output to Sound Card 1
(I can tweak this bit when I receive the file, or alternatively I already have a .reg file that does this which Girder would need to run, then press enter twice with small delay to accept it into the registry)
When MCE closes and is no longer running, perform the following:
Switch audio output to Sound Card 2 (notes as above)
Good luck and may the force be with you. :lol:
August 2nd, 2004, 09:17 AM
MCE = Windows Media Center Edition?
Have you looked at this plugin vs using a .reg file?
What version of Girder?
August 2nd, 2004, 09:59 AM
Originally Posted by Mike C
August 2nd, 2004, 09:46 PM
Let me know if that plugin changes wave devices the way you need.
August 3rd, 2004, 03:14 AM
It does seem to but my challenge is for someone to create a GML for me that does what I set out above (and everything I set out above).
What it seems cannot be done is the restore of the MCE window from full-screen to windowed.
My challenge remains open!...
August 3rd, 2004, 04:34 AM
I don't have MCE to give you a hand with that.
You may want to look at the Lua Windows Function plugin. This has more options for controlling windows.
Does the wave plugin work?
August 3rd, 2004, 05:07 AM
Thanks, I'll have a look.
Yes, as I already said, the wave plugin does seem to work. It's the other bit that's being tricky.
My challenge is still open to anyone who can WRITE FOR ME a Girder file that can do EVERYTHING above
August 3rd, 2004, 05:12 AM
I bet not a lot of people here are using MCE.
You are almost there anyways
August 4th, 2004, 11:58 AM
Maximise or minimise or resture any window in windows =
Alt+Space followed by:
n = minimise
r = restore
x = maximise
Use the action group 'girder' and I'm sure there'll be something in there to detect if a program is running.
Then just do the command
if (blah is running)
send keys = alt+space+r type thing.
That should do what u want (use an action group to send Alt+space, then r)
August 4th, 2004, 05:29 PM
Sadly the MCE window doesn't respond to the Alt+Space keyboard shortcuts, as it has no title bar.
Lua doesn't work either as it has no function for a basic window restore than can be used on MCE.
I finally cracked this one myself - what was needed was just a simple Girder Keyboard sequence of three commands to go:
Which activates MCE's restore icon in the top right corner!
I will now be transferring $20 to myself via PayPal as promised.
Thanks guys. Out.