Hi guys,
Just noticed the jogwheel can now be set to a new '4 beats' RPM mode. Great ! It looks very nice !
So I decided to add the setting in the RPM menu of my skin :
<submenu text="RPM" visibility="not skin_panel 'deck_type_video'">
<item text="1" action="setting 'RPM' 1" check="setting 'RPM' 1"/>
<item text="6" action="setting 'RPM' 6" check="setting 'RPM' 6"/>
<item text="33 *" action="setting 'RPM' 33" check="setting 'RPM' 33"/>
<item text="45" action="setting 'RPM' 45" check="setting 'RPM' 45"/>
<item text="4 beats" action="setting 'RPM' '4 beats'" check="setting 'RPM' '4 beats'"/>
</submenu>
It works fine and the correct mode is selected... BUT the check won't work... What should I write in order to get that item correctly checked ?
Just noticed the jogwheel can now be set to a new '4 beats' RPM mode. Great ! It looks very nice !
So I decided to add the setting in the RPM menu of my skin :
<submenu text="RPM" visibility="not skin_panel 'deck_type_video'">
<item text="1" action="setting 'RPM' 1" check="setting 'RPM' 1"/>
<item text="6" action="setting 'RPM' 6" check="setting 'RPM' 6"/>
<item text="33 *" action="setting 'RPM' 33" check="setting 'RPM' 33"/>
<item text="45" action="setting 'RPM' 45" check="setting 'RPM' 45"/>
<item text="4 beats" action="setting 'RPM' '4 beats'" check="setting 'RPM' '4 beats'"/>
</submenu>
It works fine and the correct mode is selected... BUT the check won't work... What should I write in order to get that item correctly checked ?
发表时间 Sun 20 Mar 16 @ 10:34 pm
Hi Fruit, try this:
...action="setting 'RPM' 4 beats" check="setting 'RPM' 4.0"
works fine for me ;o)
...action="setting 'RPM' 4 beats" check="setting 'RPM' 4.0"
works fine for me ;o)
发表时间 Mon 21 Mar 16 @ 5:25 am
Thx ^^
Nice skin btw.
Nice skin btw.
发表时间 Mon 21 Mar 16 @ 8:46 am
No Problem.
Thx for this ;o)
Fruit wrote :
Nice skin btw.
Nice skin btw.
Thx for this ;o)
发表时间 Mon 21 Mar 16 @ 10:42 am
Btw, I've had the same issue about the tooltips...
<item text="Tooltips" action="setting 'tooltip'" check="setting 'tooltip' 'yes'"/>
Again, this check won't work, tried several other things, so same question...
<item text="Tooltips" action="setting 'tooltip'" check="setting 'tooltip' 'yes'"/>
Again, this check won't work, tried several other things, so same question...
发表时间 Mon 21 Mar 16 @ 11:00 am
Didn't know this action, but thanks again (Put this on the to do list for my next update) ;o))
Try this my friend:
<item text="Tooltips" action="setting 'tooltip'" hascheck="true"/>
发表时间 Mon 21 Mar 16 @ 12:42 pm
Results:
so this should work ;o)
so this should work ;o)
发表时间 Mon 21 Mar 16 @ 12:44 pm
No, I tried this too, but it won't work because it would be the only element with a 'hascheck' in that menu... :(
Plus, afaik, when using this, your check might not reflect the real state of the option (if, for instance, the user would use the options panel instead of your menu to turn it on/off). In other words, you are not querying the state.
Plus, afaik, when using this, your check might not reflect the real state of the option (if, for instance, the user would use the options panel instead of your menu to turn it on/off). In other words, you are not querying the state.
发表时间 Mon 21 Mar 16 @ 2:54 pm
I'm on work, will try later. Sorry.
EDIT:
I gave Phantom a Little note; hope he can help us...
EDIT:
I gave Phantom a Little note; hope he can help us...
发表时间 Mon 21 Mar 16 @ 3:12 pm
Fruit
Try this
or this one
Try this
<item text="Tooltips" action="var_equal '@Tooltip' 1 ? set '@Tooltip' 0 & setting 'tooltip' 1 : var_equal '@Tooltip' 0 ? set '@Tooltip' 1 & setting 'tooltip' 0" check="var_equal '@Tooltip' 0"/>
or this one
<submenu text="Tooltips (Enable/Disable)">
<item text="Yes" action="set '@Tooltip' 0 & setting 'tooltip' 1" check="var_equal '@Tooltip' 0"/>
<item text="No" action="set '@Tooltip' 1 & setting 'tooltip' 0" check="var_equal '@Tooltip' 1"/>
</submenu>
发表时间 Mon 21 Mar 16 @ 4:00 pm
Thanks, I know I could do this but again it's still a workaround...
BUT, you made my day. By reading your script I tried several new things and I found the good spelling !!
So thanks a lot :)
The correct check is :
<item text="Tooltips" action="setting 'tooltip'" check="setting 'tooltip'"/>
Works like a charm now ! :)
BUT, you made my day. By reading your script I tried several new things and I found the good spelling !!
So thanks a lot :)
The correct check is :
<item text="Tooltips" action="setting 'tooltip'" check="setting 'tooltip'"/>
Works like a charm now ! :)
发表时间 Mon 21 Mar 16 @ 4:48 pm
Fruit wrote :
The correct check is :
<item text="Tooltips" action="setting 'tooltip'" check="setting 'tooltip'"/>
Works like a charm now ! :)
The correct check is :
<item text="Tooltips" action="setting 'tooltip'" check="setting 'tooltip'"/>
Works like a charm now ! :)
yeah! I think we need a wiki for the "inside" variables and how to check them in menues....
发表时间 Mon 21 Mar 16 @ 6:56 pm
For settings that are boolean (yes/no) you need to just call the setting
check="setting 'tooltip'"
If you want to invert the check mark then you go like this:
check="setting 'tooltip' ? off : on"
For settings that are numerical values you query the value:
check="setting 'scratchZoom' 0.2"
Please notice that we didn't use single quote marks around 0.2 because it's a numerical value.
Single quotes are required ONLY when the setting accepts/returns text.
check="setting 'colorWaveforms' 'ultra-blue'"
So, your initial mistake was that you were using single quotes around 'yes' / 'no' converting it from a bool to a string :)
check="setting 'tooltip'"
If you want to invert the check mark then you go like this:
check="setting 'tooltip' ? off : on"
For settings that are numerical values you query the value:
check="setting 'scratchZoom' 0.2"
Please notice that we didn't use single quote marks around 0.2 because it's a numerical value.
Single quotes are required ONLY when the setting accepts/returns text.
check="setting 'colorWaveforms' 'ultra-blue'"
So, your initial mistake was that you were using single quotes around 'yes' / 'no' converting it from a bool to a string :)
发表时间 Tue 22 Mar 16 @ 9:48 am
Thanks for the explanation :)
发表时间 Tue 22 Mar 16 @ 11:15 am
BUT........
It seemed to work for a while... But now none of those checks are working anymore, thus the items are changing the option behavior correctly... Can't understand why...
<submenu text="RPM" visibility="not skin_panel 'deck_type_video'">
<item text="1" action="setting 'RPM' 1" check="setting 'RPM' 1"/>
<item text="6" action="setting 'RPM' 6" check="setting 'RPM' 6"/>
<item text="33 *" action="setting 'RPM' 33" check="setting 'RPM' 33"/>
<item text="45" action="setting 'RPM' 45" check="setting 'RPM' 45"/>
<item text="4 beats" action="setting 'RPM' '4 beats'" check="setting 'RPM' 4.0"/>
</submenu>
If someone can explain me my mistake, thanks in advance...
(Only tried at work with the free version right now, will check at home tonight with the full version)
It seemed to work for a while... But now none of those checks are working anymore, thus the items are changing the option behavior correctly... Can't understand why...
<submenu text="RPM" visibility="not skin_panel 'deck_type_video'">
<item text="1" action="setting 'RPM' 1" check="setting 'RPM' 1"/>
<item text="6" action="setting 'RPM' 6" check="setting 'RPM' 6"/>
<item text="33 *" action="setting 'RPM' 33" check="setting 'RPM' 33"/>
<item text="45" action="setting 'RPM' 45" check="setting 'RPM' 45"/>
<item text="4 beats" action="setting 'RPM' '4 beats'" check="setting 'RPM' 4.0"/>
</submenu>
If someone can explain me my mistake, thanks in advance...
(Only tried at work with the free version right now, will check at home tonight with the full version)
发表时间 Tue 22 Mar 16 @ 11:41 am
May I ask what RPM 1 and RPM 6 are supposed to be ?
RPM 1 means 1 round per minute, not 1 beat.
On the same principal RPM 6 means means 6 round per minute, not 6 beats.
Mind you that for most numbers you need to type them as floats. So,
<item text="1" action="setting 'RPM' 1" check="setting 'RPM' 1.0"/>
works fine here.
So does
<item text="33 *" action="setting 'RPM' 33" check="setting 'RPM' 33.0"/>
For RPM= 4 Beats, there's currently a bug preventing you to query the value properly but it should be:
<item text="4 beats" action="setting 'RPM' '4 beats'" check="setting 'RPM' '4 beats'"/>
RPM 1 means 1 round per minute, not 1 beat.
On the same principal RPM 6 means means 6 round per minute, not 6 beats.
Mind you that for most numbers you need to type them as floats. So,
<item text="1" action="setting 'RPM' 1" check="setting 'RPM' 1.0"/>
works fine here.
So does
<item text="33 *" action="setting 'RPM' 33" check="setting 'RPM' 33.0"/>
For RPM= 4 Beats, there's currently a bug preventing you to query the value properly but it should be:
<item text="4 beats" action="setting 'RPM' '4 beats'" check="setting 'RPM' '4 beats'"/>
发表时间 Tue 22 Mar 16 @ 12:47 pm
PhantomDeejay wrote :
For RPM= 4 Beats, there's currently a bug preventing you to query the value properly but it should be:
<item text="4 beats" action="setting 'RPM' '4 beats'" check="setting 'RPM' '4 beats'"/>
For RPM= 4 Beats, there's currently a bug preventing you to query the value properly but it should be:
<item text="4 beats" action="setting 'RPM' '4 beats'" check="setting 'RPM' '4 beats'"/>
So what to do ?
<item text="RPM 4 beats" action="setting 'RPM' '4 beats'" check="setting 'RPM' '4 beats'"/>
action works fine, but no response in the menu...
If I update a skin, better this action (with no visual feedback for the user) or the other action/query (...check="setting 'RPM' 4.0)?!?
I'm confused, sorry.
发表时间 Tue 22 Mar 16 @ 1:06 pm
PhantomDeejay wrote :
That's it, I usually do not scratch and I don't like to see it spining too fast so I usually use myself the 6 setting (thus I believe I will use the '4 beats' one now it is available, looks really great and more logical). 1 must not be used much but... Hey... Many people use my skin, they might want to set this lol ^^ (and I read somewhere some users could use it as a clock...)May I ask what RPM 1 and RPM 6 are supposed to be ?
RPM 1 means 1 round per minute
RPM 1 means 1 round per minute
PhantomDeejay wrote :
Works fine here too with float numbers... I believe it was working before with integers... Something must've changed, maybe when the '4 beats' option's been introduced.Mind you that for most numbers you need to type them as floats. So,
<item text="1" action="setting 'RPM' 1" check="setting 'RPM' 1.0"/>
works fine here.
<item text="1" action="setting 'RPM' 1" check="setting 'RPM' 1.0"/>
works fine here.
PhantomDeejay wrote :
Oh... Didn't know that... Will wait then, thanks for the info !For RPM= 4 Beats, there's currently a bug preventing you to query the value properly
PhantomDeejay wrote :
So will I prepare the skin so it will work properly when the bug is addressed.but it should be:
<item text="4 beats" action="setting 'RPM' '4 beats'" check="setting 'RPM' '4 beats'"/>
<item text="4 beats" action="setting 'RPM' '4 beats'" check="setting 'RPM' '4 beats'"/>
Thank you !
发表时间 Tue 22 Mar 16 @ 1:33 pm
As I said, currently there's a bug there. Once it will be fixed by the team I will post again the proper way to query the value
发表时间 Tue 22 Mar 16 @ 1:34 pm
Check is still not working...
发表时间 Sat 10 Dec 16 @ 4:43 pm