Quick Sign In:  

Forum: VirtualDJ 8.0 Technical Support

Topic: browser_sort & browser_scroll commands together?

This topic is old and might contain outdated or incorrect information.

LudekPRO InfinityMember since 2005
Hi, I want sort all tracks in the browser by playcount and then scroll browser to the top, but this simple script does not work. Where is the problem?

browser_sort 'playcount' & browser_scroll 'top'
 

Posted Mon 30 Mar 15 @ 7:25 am
djdadPRO InfinityDevelopment ManagerMember since 2005
Seems that sorting takes a while. Needs some time to sort, but the scroll top action is executed right away.
Not sure if a "fix" can be made here. Probably you need to use a different button/key for top.
 

Posted Mon 30 Mar 15 @ 8:37 am
LudekPRO InfinityMember since 2005
djdad wrote :
scroll top action is executed right away...


Why? from wiki:
Using "command1 & command2 & command3" will execute the command1, then execute the command2, then command3.
 

Posted Mon 30 Mar 15 @ 8:44 am
djdadPRO InfinityDevelopment ManagerMember since 2005
"Then" doesnt mean "wait for the action to provide results" ;)
 

Posted Mon 30 Mar 15 @ 8:47 am
LudekPRO InfinityMember since 2005
This means execute ALL three commands at once? This is a bad idea.... Maybe fix in the next build?
 

Posted Mon 30 Mar 15 @ 8:53 am


(Old topics and forums are automatically closed)