Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: $20 to anyone who can write this GML

  1. #1
    Join Date
    Oct 2003
    Posts
    32

    Default $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:

    Thanks!

    CJSnet

  2. #2
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    MCE = Windows Media Center Edition?

    Have you looked at this plugin vs using a .reg file?
    http://www.girder.nl/downloadn.php?Link=313

    What version of Girder?

  3. #3
    Join Date
    Oct 2003
    Posts
    32

    Default

    Quote Originally Posted by Mike C
    MCE = Windows Media Center Edition?

    Yes

    Have you looked at this plugin vs using a .reg file?
    http://www.girder.nl/downloadn.php?Link=313

    Looks good and could be incorporated into the script.

    What version of Girder?

    3.3
    CJSnet

  4. #4
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Let me know if that plugin changes wave devices the way you need.

  5. #5
    Join Date
    Oct 2003
    Posts
    32

    Default

    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!...
    CJSnet

  6. #6
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    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?

  7. #7
    Join Date
    Oct 2003
    Posts
    32

    Default

    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
    CJSnet

  8. #8
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    I bet not a lot of people here are using MCE.

    You are almost there anyways

  9. #9
    Join Date
    Apr 2002
    Location
    London
    Posts
    17

    Default

    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)

  10. #10
    Join Date
    Oct 2003
    Posts
    32

    Default

    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:
    RIGHT
    RIGHT
    RETURN

    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.
    CJSnet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •