Accesso rapido:  

Forum: Old versions

Topic: Browser Sort Issues

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

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?
 

Inviato Sun 03 Jan 16 @ 2:27 am
PachNPRO InfinityMember since 2009
Put a - in Front of your column name, like:

browser_sort '-bpm'

That'll force a descending order.
 

Inviato 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.
 

Inviato Wed 06 Jan 16 @ 3:13 pm
PachNPRO InfinityMember since 2009
Did you try to press the button again?
 

Inviato 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.
 

Inviato Wed 06 Jan 16 @ 3:18 pm
PachNPRO InfinityMember since 2009
You are right. That does not work.
In fact, the whole action does not work...

I'm going to report that as a bug.
 

Inviato Wed 06 Jan 16 @ 5:02 pm
Thanks. It worked till a little bit ago.
 

Inviato 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?
 

Inviato Sun 17 Jan 16 @ 9:38 am
PachNPRO InfinityMember since 2009
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
 

Inviato 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)
 

Inviato Sun 17 Jan 16 @ 10:07 pm
Was just thinking about this the other day... Gonna try it tonight.
 

Inviato Sun 17 Jan 16 @ 10:16 pm
Don't like how it jumps to the top even when in the folder tree.
 

Inviato Mon 18 Jan 16 @ 3:10 am
PachNPRO InfinityMember since 2009
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.
 

Inviato Mon 18 Jan 16 @ 10:42 am
Cha ching! I love these forums...
 

Inviato Mon 18 Jan 16 @ 10:47 pm
me 2!
 

Inviato 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'">
 

Inviato Tue 19 Jan 16 @ 4:32 pm


(Vecchi argomenti e forum sono automaticamente chiusi)