PDA

View Full Version : Is this possible???



Mark F
October 13th, 2002, 12:55 PM
Welcome to Girder!

I'm a bit confused on how you change to the different "profiles" right now. Do you have a single command associated with the event or a multi-command associated with the event?

If you use a multi-command, you should be able to do what you want (issue the say command and enable/disable the right profile(s)).

If you place the current profile name string (or whatever you want to be spoken) into a text register as part of the switching multi-command mentioned above, you could have a common event on every profile that invoked the say command against that text register.

If I've missed your point or not answered your question(s) please ask again. :smile:

Mark F
October 13th, 2002, 12:55 PM
MpegErnie - I don't think he is using a single multi-command and states to scroll through all the states. He is using a separate multi-command and different button on the remote to invoke each discrete state.

EDIT: I've been wrong before and probably am this time too. :smile:

jmezach - I would replace all the occurances that use the say command like this

Say: PCTV Vision activated

with two commands

TRegXX = PCTV Vision activated
GOTO: SayProfile

Then, add a SayProfile command (at the main level) that does this

Say: [TRegXX]

Now you can learn an event for the SayProfile command and it will say the profile string that is in TRegXX.

I can talk in more gibberish if you'd like. :smile:

EDIT AGAIN: You cannot place a multi-command inside a multi-command but the GOTO command is actually a call and return mechanism (subroutine for all you fellow programmer geeks :smile: ). You could use a goto inside a multi-command and have the target of the goto be a multi-command.

_________________
Mark F

<font size=-1>[ This Message was edited by: Mark F on 2002-02-15 00:25 ]</font>

MpegErnie
October 13th, 2002, 12:55 PM
hmmm... i'm not sure what you mean. Why do you have only one say-command in your multi group?

I would take it this way:

multicommand: "profile chooser" with the folowing commands (all statecounts on 3; the first number seen here will be your "Begin state"):
1 - PCTV Vision
1 - Say: PCTV Vision activated
2 - Winamp
2 - Say: Winamp activated
3 - Windows functions
3 - say: Windows functions activated

This works I could post the example online if you'd want... (gotta find my FTP program back first :sad:)

Ow, The say plug does a terrible job saying "winamp" :grin:

edit: the command "PCTV vision" or "Winamp" could enable a group. You could also add a extra command for every state (3) to disable the the group on every other state. This command should have the same states but you must mark "executes on all states except 1" too.

You can read all about this in the Girder help

_________________
I justs love Girder and my remote... and now I wan't lots of OSD menus!!! :smile:

<font size=-1>[ This Message was edited by: MpegErnie on 2002-02-15 00:04 ]</font>

<font size=-1>[ This Message was edited by: MpegErnie on 2002-02-15 00:06 ]</font>

MpegErnie
October 13th, 2002, 12:55 PM
but why does he then say:

Also, I would like to be able to create a specific button on my remote which allows me to hear what profile currently is selected. How can I do that??

Seems to me he will need a single multicommand...?

or am I wrong again? :grin:


and about the use of text registers:
yes, that will propably work best...

and you can learn a button to say-command to hear what profile is activated/selected..

jmezach
October 13th, 2002, 12:55 PM
I've created a multigroup which allows me to change between three profiles (PCTV Vision, Winamp and Windows Functions). Now, I've seen the Say plugin, which allows me to say something to the user. So, what I want is that when I change the profiles I want to be able to Say what the new profile is. However, if I set the settings for the Say plugin it won't change the groups anymore, so that's not good. How can I make it work so that it says something, and then changes the profile???

Also, I would like to be able to create a specific button on my remote which allows me to hear what profile currently is selected. How can I do that??

Anybody has any ideas? Thnx. Oh, and I really like this program.

<font size=-1>[ This Message was edited by: jmezach on 2002-02-14 19:40 ]</font>

jmezach
October 13th, 2002, 12:55 PM
First of all, thnx for the welcome.

I did create a multicommand, and it does enable or disable. However, I can't seem to both Disable a Group and say something with the Say plugin. And I can't place a multicommand into a multicommand, maybe an idea for a new version. So, now I've got three commands for every profile within one multicommand. One On command, an Off command and a Say command. This seems to work allright.

However, how do I do that when I press a specific button I can hear the current profile. I think I'm able to manage that it saves the current profile in a register, but how do I pass it to the Say plugin?
Any ideas.

And thnx for the help so far.

jmezach
October 13th, 2002, 12:55 PM
Well, I've already got it fixed.
I now have four commands for every profile combined in one multicommand. One command for putting a value in the register (1, 2 or 3), a command for saying the profile, one command for turning the group on, and one command for turning the group off.
Then I have one multicommand with three commands which read out the register, and based on the setting it calls the right say command for each profile. Seems to work perfectly.

Thnx for helping me out.