PDA

View Full Version : Some beginner questions (as usual) :)



levyshay
October 13th, 2002, 12:55 PM
Hi.
I've done it in the old simple way described here on the online help which is by making a group for each aplication (Which you should do anyway if you want to use the same remote for different aplications), Each group should have a command which start/stops its program when the start/stop key is pressed.
Then you make one command which swiches between group. This should be a Multigroup with commands that have states so each time another group is enabled.

Shay Levy.

BloodyL
October 13th, 2002, 12:55 PM
Hi peeps.

I've been working through Girder, figuring it out as I go along.
Here's what I'd like to do:

1)have 1 remote button to select an application to load up
*1st state without any button presses to select PowerDVD, (when returning to state 1, say will report "PowerDVD Selected")
*1st buttonpress selects PowerDiVX (say will report "PowerDivX selected")
*2nd buttonpress selects Win Media Player (say will report "WMP selected")
*3rd button press selects Wincoder for TV in (say will report "Tv in selected)

2)To have another button to launch / kill the selected app, I can launch and kill programs ok, but to launch or kill an app based on a variable is a little beyond me right now.


There are two things I would like to know:

1)Is this at all possible?
2)Where should I start in programming this bohemoth of an idea? (I can already launch / kill apps, pass vars/regs onto say/osd and define the command states.

Any and all help regarding this one would be very much appreciated.

Thanks in advanced for your help. :)

BloodyL
October 13th, 2002, 12:55 PM
Hehehe... I've done it.. :)

1)I set the default player on launch with the GirderOpen system, scripting the string values to the file location / appname to be killed of the player I want as default.
2)I then set an event to select from player to player, using the script to point to the player to be launched / killed, using say to report which one is being selected.
3)I then used a simple two state launcher / killer with the string variables defined by the startup / selection process

IE

startup script:
string s1;
s1 = "C:\Program Files\Windows Media Player\wmplayer.exe";

Kill script:
string s2;
s2 = "WMPLAYER.EXE"

With PowerDVD as the variables for the other switch state.

I then put [s1] in the execute file path, and [s2] in the Close target executable path.


The program is amazing, well done guys! :)

BloodyL
October 13th, 2002, 12:55 PM
Thanks, I'll look into that now, I wondered what the group enable / disable function was for...now I know! :)

BloodyL
October 13th, 2002, 12:55 PM
Thanks for the tip, I've mastered the group handling now, and I can now flip between players with one button, and the buttonmaps will automatically be adjusted to match the player. :D