January 31st, 2003, 01:48 PM
OK, I think some of the variables were not initialized. I have changed it to initialize all the variables when you execute any of the behavior choices.
Try the attached version.
January 31st, 2003, 02:08 PM
I think now the shift key doesn't work whichever behavior you choose.
January 31st, 2003, 02:55 PM
I'm sorry but this version works flawlessly on my machine.
Please do me a favor, press F10 to bring up the LUA variables window. Now execute the toggle-shot behavior command. Note the values of the variables named TOGGLESHOT_MODE, SHIFT_KEY, TOGGLE_NEXT and TOGGLE_STATE. Press the shift key and note the values of these same variables. Press it again and note their values. Do this for a third time and post the results here.
January 31st, 2003, 03:27 PM
The values of the variables doesn't change when I press the shift key, and their values are always:
January 31st, 2003, 04:57 PM
It looks like like the "Shift Key" command is not being triggered. Have you learned the button you want to use as the shift to the "Shift Key" command?
January 31st, 2003, 05:17 PM
I don't know what is happening. If I hightlight the Shift Key command and use it pressing F5 everything works, even the toggle-shot, but if I learn a button to it, I press this button and nothing happens. Do you know what is wrong?
January 31st, 2003, 05:47 PM
I don't know what happened but I have solved it including the Shift Key command in a multigroup and learning the button I want to be the shift to the multigroup. In this way it works.
Thanks for all.
February 11th, 2003, 07:04 AM
Forgive my ignorance, but this shifting technique effectively only doubles the keys available on your remote, no? ops:
Is it possible to say, by pressing "1", it opens up a new 'gateway' to other potential ir codes, and "2" to an even more available keys and so on?
Can you do this with the Girder Shift.gml?
thanks a mill.
February 11th, 2003, 08:21 AM
Asking a question is NOT showing ignorance.
Yes, this .GML file doubles the available keys by removing one of them (the shift key) from use.
What you are asking for can be done. It requires the LUA scripts in the .GML file to be changed to support multiple shift keys. I don't have any plans to do this but would be happy to give ideas and aid if you would like to do this.
February 11th, 2003, 08:22 AM
This is certainly possible. What I have setup at home is 6 different groups, and pressing the shift key moves through each of the groups.
Here's what I did:
Setup a Main group which handles all of the switching between groups.
Added an multi event for the shift button and assigned this a increment on register 1, then a Goto of Check Group 1.
In Check of Group 1, I see if the register 1 equals 1. If so, I switch to another multi group called Enable Group 1. If not go to Check group 2.
In Enable Group 1 I basically do a Group Enable of the actual Winamp controls, then a Group Disable on every other group.
I basically repeat the above 2 paragraphs for groups 2 to 6, before finally looping round back to a Reset command which sets register 1 back to 0.
Oh, and each Enable Group has an OSD that shows me the current group
In this way you can extend to any number of groups, just add the relevant Enable/Check routines, set the group you want to enable and add the commands as normal.
I dont have the exact .gml file here but I can post it up tommorow if you'd like. ^_^