Using the command browser_sort only seems to be sorting correctly in ascending order. Clicking on the column heading still has the desired effect. Another command to use? Or a bug?
发表时间 Sun 03 Jan 16 @ 2:27 am
Put a - in Front of your column name, like:
browser_sort '-bpm'
That'll force a descending order.
browser_sort '-bpm'
That'll force a descending order.
发表时间 Wed 06 Jan 16 @ 3:11 pm
I want it to mimic the behavior of clicking on the column heading, where it switches between the two.
Don't want to have two keys mapped for all of this.
Don't want to have two keys mapped for all of this.
发表时间 Wed 06 Jan 16 @ 3:13 pm
Did you try to press the button again?
发表时间 Wed 06 Jan 16 @ 3:17 pm
Yes. That's what I want to mimic with a keyboard command.
Don't like using the mouse for anything if it can be avoided.
Don't like using the mouse for anything if it can be avoided.
发表时间 Wed 06 Jan 16 @ 3:18 pm
You are right. That does not work.
In fact, the whole action does not work...
I'm going to report that as a bug.
In fact, the whole action does not work...
I'm going to report that as a bug.
发表时间 Wed 06 Jan 16 @ 5:02 pm
Thanks. It worked till a little bit ago.
发表时间 Wed 06 Jan 16 @ 5:03 pm
Just found this thread. I've been able to get every column sorted, with the exception of the RATINGS one, which for some odd reason sorts the wrong way around: from less to more... Even when placing the minus in front of "rating", it will not sort right.
It's a shame the combination of "sort by column" and "go to top" cannot be joined in one button... Or can it? Does anyone know of a VDJScript code to insert a tiny DELAY between commands?
It's a shame the combination of "sort by column" and "go to top" cannot be joined in one button... Or can it? Does anyone know of a VDJScript code to insert a tiny DELAY between commands?
发表时间 Sun 17 Jan 16 @ 9:38 am
Maybe this works
Browser_sort bpm' & repeat_start "top" 50ms 1 & Browser_sort 'top'
I'm not sure if the browser_sort top part is correct syntax. But you will get an idea
Browser_sort bpm' & repeat_start "top" 50ms 1 & Browser_sort 'top'
I'm not sure if the browser_sort top part is correct syntax. But you will get an idea
发表时间 Sun 17 Jan 16 @ 3:16 pm
THANX for the inspiration PachN!
This works PERFECTLY:
<button action="browser_sort 'bpm' & repeat_start 'top' 50ms 1 & browser_scroll 'top'">
(with the exception of the RATING column, but that's a software bug/limitation)
This works PERFECTLY:
<button action="browser_sort 'bpm' & repeat_start 'top' 50ms 1 & browser_scroll 'top'">
(with the exception of the RATING column, but that's a software bug/limitation)
发表时间 Sun 17 Jan 16 @ 10:07 pm
Was just thinking about this the other day... Gonna try it tonight.
发表时间 Sun 17 Jan 16 @ 10:16 pm
Don't like how it jumps to the top even when in the folder tree.
发表时间 Mon 18 Jan 16 @ 3:10 am
Try it that way:
browser_window 'songs' ? browser_sort 'bpm' & repeat_start 'top' 50ms 1 & browser_scroll 'top' : nothing
Now it shouldn't jump to the top if you are not in the songs list.
browser_window 'songs' ? browser_sort 'bpm' & repeat_start 'top' 50ms 1 & browser_scroll 'top' : nothing
Now it shouldn't jump to the top if you are not in the songs list.
发表时间 Mon 18 Jan 16 @ 10:42 am
Cha ching! I love these forums...
发表时间 Mon 18 Jan 16 @ 10:47 pm
me 2!
发表时间 Tue 19 Jan 16 @ 8:19 am
RATING SORT now (in the latest version of VDJ8) works!
<button action="browser_window 'songs' ? browser_sort '-rating' & repeat_start 'top' 50ms 1 & browser_scroll 'top' : browser_window 'songs' & browser_sort 'rating' & repeat_start 'top' 50ms 1 & browser_scroll 'top'">
<button action="browser_window 'songs' ? browser_sort '-rating' & repeat_start 'top' 50ms 1 & browser_scroll 'top' : browser_window 'songs' & browser_sort 'rating' & repeat_start 'top' 50ms 1 & browser_scroll 'top'">
发表时间 Tue 19 Jan 16 @ 4:32 pm