快速登录:  

Forum: VirtualDJ Technical Support

话题: Script to cycle through views

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

Hi

I'm wanting to achieve the following...

1 button to cycle through "mixer", "Video", "Scratch", "Master" & "Sampler" views on the main mixer section.

1 button to cycle through "Sidelist", "Sampler", "Automix", "Karaoke" and other shortcuts on the Side View panel.

Can someone help with the scripting for this, or point me to a tutorial or example script that points me in the right direction?

Cheers,
k
 

发表时间 Thu 12 Jan 17 @ 6:11 am
locoDogPRO InfinityModeratorMember since 2013
skin_panel 'audiomixer' on ? skin_panel 'videomixer' on : skin_panel 'videomixer' on ? skin_panel 'scratchmixer' on : skin_panel 'scratchmixer' on ? skin_panel 'mastermixer' on : skin_panel 'mastermixer' on ? skin_panel 'audiomixer' on : nothing

Sampler? what skin are you using?

sideview 'sidelist' ? sideview 'sampler' : sideview 'sampler' ? sideview 'automix' : sideview 'automix' ? sideview 'karaoke' : sideview 'karaoke' ? sideview 'sidelist' : sideview 'sidelist'
 

发表时间 Thu 12 Jan 17 @ 6:32 am
djdadPRO InfinityDevelopment ManagerMember since 2005
For Sideview, you can use
sideview -1 (select previous view)
sideview +1 (select next view)
these actions are simpler than the ones locodog wrote above and include the Shortcuts (clones) as well

For panels, you need to know the names of the panels or even better the name of the "group"
For the default skins. the name of the group for the center panels is "mixer" , so you can use ..
skin_panelgroup 'mixer' +1 (select next panel)
skin_panelgroup 'mixer' -1 (select previous panel)
 

发表时间 Thu 12 Jan 17 @ 7:14 am
Thanks...

I'm using the GianB 4 deck skin... Where do I find the Panel/Group names in the XLM?

Appreciated!
 

发表时间 Thu 12 Jan 17 @ 10:50 am
locoDogPRO InfinityModeratorMember since 2013
a bit different there, try this

cycle '@$center' 5
 

发表时间 Thu 12 Jan 17 @ 11:44 am
Rocking.

Cheers!
 

发表时间 Fri 13 Jan 17 @ 1:40 am


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