Se Connecter:     


Forum: VirtualDJ Technical Support

Sujet: Slide a selected folder to the top?
Hello, for the folderwindow on the left side:
Want to write a script to slide a selected folder up on the top position.
So I don´t want to move the folderposition in the list, but just slide it up.
Didn´t find a verb for this ('selected-folderpos 1' doesn´t work...)
First the selected folder is here:

And after the action it should be here:

But as I wrote, without changing anything in the order of the list.
The script should do the same as if I operate the slider to the right.
Any help is appreciated
Thanks
 

Posté Mon 27 Jun 22 @ 9:50 am
Is there no command to move this slider?
What, if someone tries to move this with an external controller?
 

!!!(nearly) solved!!!

locodog wrote :
visual pos is based on scroll pos, try scroll down 20 & scroll up 10


Thanks Locodoc, You brought me to this little trick, wich does the job:

browser_gotofolder "SCHLAGER" & browser_scroll +16 & browser_scroll -16


This brings nearly every selected folder in a toppy position.
Just Folders in "last row" means with less than 16 folders underneath fail this procedure.
So needed folders have to be placed in the beginning of the list.