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'
browser_sort 'playcount' & browser_scroll 'top'
Posted Mon 30 Mar 15 @ 7:25 am
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.
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
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
"Then" doesnt mean "wait for the action to provide results" ;)
Posted Mon 30 Mar 15 @ 8:47 am
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