快速登录:  

Forum: Old versions

Topic: Browser Sort Issues

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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.
 

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.
 

Did you try to press the button again?
 

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.
 

You are right. That does not work.
In fact, the whole action does not work...

I'm going to report that as a bug.
 

Thanks. It worked till a little bit ago.
 

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?
 

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
 

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)
 

Was just thinking about this the other day... Gonna try it tonight.
 

Don't like how it jumps to the top even when in the folder tree.
 

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.
 

Cha ching! I love these forums...
 

me 2!
 

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



(陈旧帖子或论坛版块会自动关闭)