Page 1 of 1

Scripting: Selection Filter

Posted: 15 Feb 2008 01:22
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... ;))

Re: Scripting: Selection Filter

Posted: 15 Feb 2008 07:40
by admin
selfilter: good! :)

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

Re: Scripting: Selection Filter

Posted: 15 Feb 2008 09:50
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...

Re: Scripting: Selection Filter

Posted: 15 Feb 2008 10:33
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 :)

Re: Scripting: Selection Filter

Posted: 15 Feb 2008 10:54
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...