Entra:     


Forum: VirtualDJ Technical Support

Topic: Scripting Issue

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

doubleclick ? browser_window 'songs' ? browser_sort 'track' & repeat_start 'top' 50ms 1 & browser_scroll 'top' : skin_panelgroup 'fx_deck3' +1

Mapping that to a key on my keyboard. Only the first command works. I have even swapped the commands and still only the first one works. I even went as far as trying an entirely different command in the second slot to not avail. Even tried a different key... Same results.

What am I missing?
 

Inviato Sun 30 May 21 @ 10:16 pm
what is it supposed to do?

Currently you have :

Double click in browser songs ? do this : and if double click outside browser song do something else

So the 2nd part will only happen if not in browser songs. Select browser folders,. and 2nd part works (at double click only)

Perhaps you meant for double click ? do this : else do this when not double click

doubleclick ? browser_window 'songs' ? browser_sort 'track' & repeat_start 'top' 50ms 1 & browser_scroll 'top' : nothing : skin_panelgroup 'fx_deck3' +1
 

Curse you nothing!

I had that in the original, but couldn't remember why...

Thanks very much. Works like a charm!
 

Depends on what you want to do

currently the command is doubleclick only

if browser is not on songs it selects next pannel in group fx_deck3

if you want single click
doubleclick ? browser_window 'songs' ? browser_sort 'track' & repeat_start 'top' 50ms 1 & browser_scroll 'top' : : skin_panelgroup 'fx_deck3' +1
 



(Vecchi argomenti e forum sono automaticamente chiusi)