Scripting: Selection Filter

Features wanted...
Post Reply
jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Scripting: Selection Filter

Post by jacky »

So I have to say I like that new sel syntax, I never even thought it could work with an actual mask, pretty cool.

But it also had me realize that one new command that would be really cool would be "selfilter" or something, so we can use a selection filter.

Selection Filter can select more than one item, can use regexp, other columns, etc so it'd be pretty great.

Then, we might need to add a few more things to command setting :

- date/size format, so we can force for example "raw bytes", allowing us to select files using a SF, and when script ends it's restored to user setting

- column visibility. Okay so no it's not really needed here, but... I do wish there was a way to generate reports. Right now the only ones available are "Selected Rows" and "All Rows", through "To Clipboard"
I wish we could do for more :) (Okay, later... ;))
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66305
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Scripting: Selection Filter

Post by admin »

selfilter: good! :)

reports: later... "Custom Reports" are in the pipe and all done in my head. Just need to hack them in.

admin
Site Admin
Posts: 66305
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Scripting: Selection Filter

Post by admin »

admin wrote:selfilter: good! :)
Yes, but I realized that I don't have the time now to do the big version (regexp, columns) of it. Need to get ready with v7.0...

I'll add a simple version though...

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Scripting: Selection Filter

Post by jacky »

admin wrote:
admin wrote:selfilter: good! :)
Yes, but I realized that I don't have the time now to do the big version (regexp, columns) of it. Need to get ready with v7.0...

I'll add a simple version though...
hmm... don't you just have to have a command "selfilter" to send its parameter to you "internal function", just like the actual selection filter does today ?

Reports: great news! Can't wait :)
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66305
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Scripting: Selection Filter

Post by admin »

jacky wrote:
admin wrote:
admin wrote:selfilter: good! :)
Yes, but I realized that I don't have the time now to do the big version (regexp, columns) of it. Need to get ready with v7.0...

I'll add a simple version though...
hmm... don't you just have to have a command "selfilter" to send its parameter to you "internal function", just like the actual selection filter does today ?
Today's selection filter syntax is clumsy because all has to be packed in one argument (regexp, inverse, case sensitive (missing today), columns). Scripting can do it much more elegant -- but this needs a rewrite...

Post Reply