快速登录:  

Forum: VirtualDJ Skins

话题: Custom Button Help

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

djkrysrPRO InfinityMember since 2010
Hi
I would like to program a custom button that's functionality changes each time it's pressed but cannot work out how, ideally I would just like to toggle my broswer_sort order from 'First Seen' to 'Last Played' with each press - but importantly to display on the button the current sort order when pressed so I can see at a glance which one is active.

Currently I have tried adding the following VDJScript to a button

custom_button_name 'First Seen' ? browser_sort '-lastplay' & custom_button_name 'Last Play' : browser_sort '-firstseen' & custom_button_name 'First Seen'
nothing happens at all
... or
browser_sort '-firstseen' ? browser_sort '-lastplay' & custom_button_name 'Last Play' : browser_sort '-firstseen' & custom_button_name 'First Seen'
will toggle the sort but won't change the button_name

 

发表时间 Fri 28 Sep 18 @ 3:27 pm


(陈旧帖子或论坛版块会自动关闭)