PDA

View Full Version : Event triggered twice



DJ Unreal
April 19th, 2003, 10:30 PM
OK, I have a bunch of groups with one main group that enables and disables the other groups based on my choice from an OSD menu. The button I use to choose the group in the menu is also used in the other groups. I have a multigroup called Select that first disables all the groups, hides the menu, then enables the group that was selected in the menu. The problem is, the command that is associated with that same button in the group that just got enabled gets triggered also.
So, for example:
My Dscaler group is disabled, I open my menu, go to Dscaler, press the Select button (which is also the fullscreen button in Dscaler), it closes my menu, enables the Dscaler group but then also executes the fullscreen command in the Dscaler group.

I don't see what I could be doing wrong, so is there a workaround for this? I sure couldn't think of one. Thanks.

SouthyPar
April 19th, 2003, 11:05 PM
Girder reads through the tree of groups and commands in order, from top to bottom, so maybe all you have to do is make sure the group in which you have your group disabling\enabling multigroup is in the bottom of the tree? That's the quickest work-around I can think of.

DJ Unreal
April 19th, 2003, 11:09 PM
Hmm, I wish that was it, but my enabling/disabling group is already at the bottom. Thanks for the suggestion though.

SouthyPar
April 19th, 2003, 11:13 PM
How about simply delaying the execution of the disabling\enabling multigroup by about half a second (prefferably using Alarm Timer), so that you could have time to get your finger off the button?

DJ Unreal
April 19th, 2003, 11:20 PM
You da man. AlarmTimer worked like a charm. Thanks!

SouthyPar
April 19th, 2003, 11:22 PM
You're welcome :)