Try using a custom indicator for the button.
OK, here is another quick question.
I want to make a button to have two states. A normal and a pressed one.
When I press it, i want to stay in the pressed state, and when pressed again to return to normal state.
I want to make sth like a switch. ON and OFF.
I read the readme but i found nothing.
Any help on that?
How i assing I01 to B01?
The readme doesn't give any help...
Use a similar format:
for the button you want to change the state of (OFF/ON).
When you push the button, on top of doing your command, you'll need to add a BYVAR argument (0/1). This, in turn, will set the state of the button using the following:
got some problems trying this
when I place a indicator over a button, when I mouse over it or navigate with the keys (the same effect as mouse over), the indicator desapears
made some tests and indicators still there. if I place half the indicator's image over the button, just the overlayed portion of indicator is erased. the other half keeps showing nice.
indicators are clickable itself, but it's not possible to navigate them just like buttons (guino please include this in next release... if its interactive, it should be n possible to access by keys )
I just wanna a button that keeps highlighted till I press it again (toogle or state button like repeat or mute). but neither normal or custom indicators work when placed over a button
help please, RR gurus
thanks for the reply. i've already tried with blinking indicators, but some got REALLY annoying... imagine the repeat indicator blinking all the time the carputer is on...
hope someone have some solution to this...
You can use the Switchbutton command to do this as well
This will toggle the first command when you press it, and the second command when pressed, and when pressed again goes back to the first command.Code:"YourOnCommand||SWITCHBUTTON;1>>YourOffCommand"
NOTE: This is dependant on where the button is in the .skin file. Meaning, in the above example, the button needs to be the "1" (first) button listed from top to bottom in the skin file.
You can use the Double Pipe's (||) to add more than one command, such as:
I have not tested the above line, so syntax may not be perfect, but it should work.Code:"YourOnCommand||SETIND;!MYINDICATOR;ON ||SWITCHBUTTON;1>>YourOffCommand|||SETIND;!MYINDICATOR;OFF"
Needs additional code to complete switching back and forth.Code:"YourOnCommand||SETIND;!MYINDICATOR;ON ||SWITCHBUTTON;1>>YourOffCommand||SETIND;!MYINDICATOR;OFF||SWITCHBUTTON;1"
Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2