Ingreso rápido:  

Forum: VirtualDJ Technical Support

Tema: Script to cycle through views

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

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
 

Mensajes 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'
 

Mensajes 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)
 

Mensajes 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!
 

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

cycle '@$center' 5
 

Mensajes Thu 12 Jan 17 @ 11:44 am
Rocking.

Cheers!
 

Mensajes Fri 13 Jan 17 @ 1:40 am


(Los tópicos y foros antiguos son automáticamente cerrados)