Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Slide a selected folder to the top?
SveninoPRO InfinityMember since 2009
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
 

Posted Mon 27 Jun 22 @ 9:50 am
SveninoPRO InfinityMember since 2009
Is there no command to move this slider?
What, if someone tries to move this with an external controller?
 

Posted Mon 27 Jun 22 @ 4:23 pm
SveninoPRO InfinityMember since 2009
!!!(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.
 

Posted Tue 28 Jun 22 @ 10:03 am