快速登录:  

Forum: VirtualDJ Skins

话题: iPhone skins and VDJScript macros

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

alucasCUE userMember since 2008
Is it possible to use macros in button actions in an iPhone skin?
 

发表时间 Wed 15 Jun 11 @ 10:00 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
You may have any VDJ Script action assigned to a button.

What do you mean by macro? An example?
 

发表时间 Thu 16 Jun 11 @ 9:28 am
alucasCUE userMember since 2008
I wanted one button to issue two commands by linking them with an & eg

<button action="browser_window 'songs' & browser_scroll -1">

to make sure that pressing that button always selected the previous song even if I had previously selected folders

but this stopped the skin loading
 

发表时间 Thu 16 Jun 11 @ 10:59 am
alucasCUE userMember since 2008
I think I have solved this for myself: because it's in a XML file, the ampersand has to be replaced by &amp; and then it works as expected.

eg

<button action="browser_window 'songs' &amp; browser_scroll -1">

 

发表时间 Fri 17 Jun 11 @ 3:27 am


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