Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Help with script

This topic is old and might contain outdated or incorrect information.

Yes, I need help!!!

On a panel, visible="get loop & param_equal 2 ? on : off" WORKS.
However visible="get loop & param_equal 0.25 ? on : off" DOES NOT work...

Any thoughts?
 

Posted Tue 16 Jul 13 @ 1:04 am
I think it only returns an integer as even on a skins textzone it willl show '...' for anything under 1 beat... You could always just use

loop 0.25 ? on : off

or you could get tricky and do something like this to have an on and off state for each size

pannel1 = loop_select 0.25 ? loop ? on : off : off
pannel2 = loop_select 0.25 ? loop ? off : on : off
 

Posted Tue 16 Jul 13 @ 1:37 am
No. "get loop" will actually return text, that when casted to numeric will result to integer.
However loop_select 0.125 ? on : off works like a charm!
Thanks!

PS: I wanted the panel to be visible depending on the selected loop size even when the deck is not in a loop. Otherwise loop 0.125 ? on : off would work ;)
 

Posted Tue 16 Jul 13 @ 1:59 am
loop_select 0.25 ? loop ? on : off : off

;-)
 

Posted Tue 16 Jul 13 @ 8:50 am


(Old topics and forums are automatically closed)