Actually you will be able to fully edit and add to the filters via list management.xycooper wrote:@FluxTorpedoe
New script works great for me. Just one request could you add "Filter tags".
@Don
I might be dreaming but, it would be great if there was a way for the user to pick
which filters they would like to have or add to your list. Though your list would be good for most.
Power Filter [v1.0 alpha4]
-
admin
- Site Admin
- Posts: 64838
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Power Filter [v1.0 alpha4]
FAQ | XY News RSS | XY X
Re: Power Filter [v1.0 alpha4]
need easy way to add those icons from screen, please.
yet, can i somehow restrain power reset to only "when the view is filtered, a Left Click (Power Reset) will only remove the filter and won't change the view or sorting." ?
yet, can i somehow restrain power reset to only "when the view is filtered, a Left Click (Power Reset) will only remove the filter and won't change the view or sorting." ?
Win 7 SP1 x64 100% 1366x768|1900x1080
-
FluxTorpedoe
- Posts: 904
- Joined: 05 Oct 2011 13:15
Re: Power Filter [v1.0 alpha4]
@Don
Geeeez, you must've been part of the Demo Scene to be coding this fast!!!
And as glad as I am to have been able to bring a tiny contribution to XYplorer's spirit, I gotta say IMO your implementation through "List Management" (and updated syntax) is pretty smart - powerful yet opened!
@all
• The icons pack is now uploaded correctly in the first post.
• Since the new simplified syntax = less code, and less code = (potentially) less trouble (and more openness in user-defined item types filtering), I implemented it to give it a try. So here's a "private" alpha 6 - working just fine here, but remember you MUST have the latest XYplorer beta (>= 11.80.0106). ---------
---------
It was only reseting "Sorting" to "Name" when the view was in List, but I removed it since I discovered that by default XYplorer now has "Show sort headers in all view" ON by default.
Geeeez, you must've been part of the Demo Scene to be coding this fast!!!
And as glad as I am to have been able to bring a tiny contribution to XYplorer's spirit, I gotta say IMO your implementation through "List Management" (and updated syntax) is pretty smart - powerful yet opened!
@all
• The icons pack is now uploaded correctly in the first post.
• Since the new simplified syntax = less code, and less code = (potentially) less trouble (and more openness in user-defined item types filtering), I implemented it to give it a try. So here's a "private" alpha 6 - working just fine here, but remember you MUST have the latest XYplorer beta (>= 11.80.0106). ---------
That makes perfect sense! It's in the new version (alpha 6).xycooper wrote:Just one request could you add "Filter tags".
---------
Maybe I don't understand your request... The script is behaving this way by default, so you don't have to do anything.eil wrote:can i somehow restrain power reset to only "when the view is filtered, a Left Click (Power Reset) will only remove the filter and won't change the view or sorting." ?
It was only reseting "Sorting" to "Name" when the view was in List, but I removed it since I discovered that by default XYplorer now has "Show sort headers in all view" ON by default.
• Scripts: Session Manager
| SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Power Filter [v1.0 alpha4]
Yay! I managed to change the icons without breaking the whole thing!
Of course I still think my custom icon http://www.xyplorer.com/xyfc/viewtopic. ... 909#p79432 is the best thing since sliced bread!
It occurs to me that we could probably come up with some icons for the other menu items as well, though if your PowerFilter gets integrated as a full-on XYplorer feature, then it will probably lose all of its menu icons anyway
Feature ideas:
- It would be nice if we could define our own time filters AND ISOLATE time periods (e.g. "Modified Last Week" would exclude older items, but also exclude items that were modified THIS week).
- I don't know if this is possible, but have the script read the part of the XYplorer.ini that defines the visual filters. That way, we could use Don's GUI for making a text-based custom visual filter, but have the filter show up on our PowerFilter list. (I do, of course, realize there's no room for this!)
Question: Can I rearrange the menu items (via the script) without breaking the thing? I'd like to have the show/hide folders and size ones at the top; and the multimedia, label, and comment ones at the bottom.
Thanks for your work on this Flux! You're a real asset to the Starfleet arsenal!
Of course I still think my custom icon http://www.xyplorer.com/xyfc/viewtopic. ... 909#p79432 is the best thing since sliced bread!
It occurs to me that we could probably come up with some icons for the other menu items as well, though if your PowerFilter gets integrated as a full-on XYplorer feature, then it will probably lose all of its menu icons anyway
Feature ideas:
- It would be nice if we could define our own time filters AND ISOLATE time periods (e.g. "Modified Last Week" would exclude older items, but also exclude items that were modified THIS week).
- I don't know if this is possible, but have the script read the part of the XYplorer.ini that defines the visual filters. That way, we could use Don's GUI for making a text-based custom visual filter, but have the filter show up on our PowerFilter list. (I do, of course, realize there's no room for this!)
Question: Can I rearrange the menu items (via the script) without breaking the thing? I'd like to have the show/hide folders and size ones at the top; and the multimedia, label, and comment ones at the bottom.
Thanks for your work on this Flux! You're a real asset to the Starfleet arsenal!
ste(phen|ve) kunkel
-
FluxTorpedoe
- Posts: 904
- Joined: 05 Oct 2011 13:15
Re: Power Filter [v1.0 alpha4]
@Don
Yes those new Filters are even better than one could have thought...
And they're especially powerful when stored in task-oriented Tabsets! (or whole "Sessions"
)
- In this spirit, I don't know if I missed something but can you already "power filter" by tags/labels/comments?
@kunkel
- I'm not sure an "isolated period" would be that interesting as a dedicated filter - at least in this script. Its place belongs more in a search (it's in PF's brother "Power Search", which I'll upload someday when this one's settled...).
- As for the script that grabs a script to run a script... Well, that's sounds as fun as convoluted!
But I'd probably better spend my time proof-testing the Power-related tetralogy (I'd forgotten one: they're Filter, Search, Select, and Mark).
You can even rename the titles if you want, except the "_hidden" ones (with the preceding underscore), because they're called by other functions/subroutines.
Yes those new Filters are even better than one could have thought...
And they're especially powerful when stored in task-oriented Tabsets! (or whole "Sessions"
- In this spirit, I don't know if I missed something but can you already "power filter" by tags/labels/comments?
@kunkel
- I'm not sure an "isolated period" would be that interesting as a dedicated filter - at least in this script. Its place belongs more in a search (it's in PF's brother "Power Search", which I'll upload someday when this one's settled...).
- As for the script that grabs a script to run a script... Well, that's sounds as fun as convoluted!
Sure! you can move items in any order without breaking anything - as long as you don't "insert" them in other items of course.kunkel321 wrote:Can I rearrange the menu items (via the script) without breaking the thing?
You can even rename the titles if you want, except the "_hidden" ones (with the preceding underscore), because they're called by other functions/subroutines.
• Scripts: Session Manager
| SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
-
admin
- Site Admin
- Posts: 64838
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Power Filter [v1.0 alpha4]
Not yet done, but will come a later version, next year.FluxTorpedoe wrote:@Don
Yes those new Filters are even better than one could have thought...
And they're especially powerful when stored in task-oriented Tabsets! (or whole "Sessions"![]()
)
- In this spirit, I don't know if I missed something but can you already "power filter" by tags/labels/comments?
FAQ | XY News RSS | XY X
Re: Power Filter [v1.0 alpha4]
This feature I myself missed badly, because I use lots of comments. However, I thougth Don would implement it much earlier, using the very simple way by extending Visual Filters to labels, tags and comments, since they are text information similar to the file name, and they can be different user by user, so they don't have strict general form as File Size or File Date. Additionaly, comments are free texts, it rarely can be define as a Power Filter. (Tags and Labels fit better to Power Filter)FluxTorpedoe wrote:- In this spirit, I don't know if I missed something but can you already "power filter" by tags/labels/comments?
-
FluxTorpedoe
- Posts: 904
- Joined: 05 Oct 2011 13:15
Re: Power Filter [v1.0 alpha4]
Thanks for the info.admin wrote:Not yet done, but will come a later version, next year.
It was more out of curiosity as I was wondering if I'd missed a step. Because anyway, what we have covers a pretty huge ground already, between filters and power filters, and searches (and this script).
• Scripts: Session Manager
| SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Power Filter [v1.0 alpha4]
Just installed it. Works like a charm and it's probably something Don may want to implement as a native feature. Possibly with credit to the original author.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial
-
binocular222
- Posts: 1419
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: Power Filter [v1.0 alpha4]
Why make so lengthy code? I can achieve the same result with 2 simple files:
File 1: Filter.xysFile 2: Filter-child.xysJust save these 2 files into Xyplorer\Script folder, have separe Hotkey/User Button to trigger file 1.
File 1: Filter.xys
Code: Select all
If( get(VisualFilter) == ""){Load "Filter-child"}
Else{Filter}Code: Select all
"Exe|<xypath>\icon\exe.ico" filter "*.exe;*.com;*.bat;*.msi"
"Office|<xypath>\icon\3Office.ico" Filter "*.c; *.chm; *.cpp; *.doc; *.docm; *.docx; *.dot; *.dotm;*.xltx"
"Video|<xypath>\icon\video camera.ico" Filter "*.3g2; *.3gp; *.3gp2; *.3gpp; *.amr; *.asf; *.avi; *.m2ts; *.mod"
"Music|<xypath>\icon\Music.ico" Filter "*.aac; *.ac3; *.aif; *.aifc; *.aiff; *.au; *.cda; *.dts; *.fla; *.flac; *.amr"
"Text|<xypath>\icon\Text.ico" Filter "*.aac; *.vbs; *.txt; *.ini; *.nfo; *.key; *.reg; *.xys; *.sfv"
"Empty" Filter "size: 0"I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
Re: Power Filter [v1.0 alpha4]
A sleek implementation, to be sure... But I'll bet you can't add "Filter by selected extension(s)" in a single line of code.binocular222 wrote:Why make so lengthy code? I can achieve the same result with 2 simple files:...
EDIT: After looking up #356 in the Keyboard Jump tool, I'd like to recant my previous statement!
Last edited by kunkel321 on 19 Dec 2012 22:06, edited 2 times in total.
ste(phen|ve) kunkel
Re: Power Filter [v1.0 alpha4]
RE The longer Flux version...
For some reason, in Vista, Folders don't seem to be recognized as folders...
"Hide Folders" does not hide them, and "Isolate" hides everything...
This appears to be what is applied:
"Folders Only" attr: d
Seems to work okay on Win 7 though.
For some reason, in Vista, Folders don't seem to be recognized as folders...
"Hide Folders" does not hide them, and "Isolate" hides everything...
This appears to be what is applied:
"Folders Only" attr: d
Seems to work okay on Win 7 though.
ste(phen|ve) kunkel
-
FluxTorpedoe
- Posts: 904
- Joined: 05 Oct 2011 13:15
Re: Power Filter [v1.0 alpha4]
Hi there!
But why stop there: you can even do the "same" with 0 file!
Yep, now that Power Filters are integrated, you already have the "same" result with no extra code or button...
Well, seriously, if you venture a bit into the code, you'll realize it does quite a bit more, and differently. But I understand that with the new integrated Power Filters, most users may not need a button with that much options - though I still do and use it pretty much everyday.
@all
I'll post an small update soon, with a few generic fixes, and extra(s), like my new favorite: "Filter Last Modified"...
Have a nice day,
Flux
Hmmm, maybe the attrib has a different name under Vista... I'll try and look into this issue, and maybe revert the code to the old one (still available under comments). It was less "clean" but the file/folder focus was kept (when applicable), which is a plus.kunkel321 wrote:in Vista, Folders don't seem to be recognized as folders..."Hide Folders" does not hide them, and "Isolate" hides everything...
Hmmm, you're right...binocular222 wrote:Why make so lengthy code? I can achieve the same result with 2 simple files
But why stop there: you can even do the "same" with 0 file!
Well, seriously, if you venture a bit into the code, you'll realize it does quite a bit more, and differently. But I understand that with the new integrated Power Filters, most users may not need a button with that much options - though I still do and use it pretty much everyday.
@all
I'll post an small update soon, with a few generic fixes, and extra(s), like my new favorite: "Filter Last Modified"...
Have a nice day,
Flux
• Scripts: Session Manager
| SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Power Filter [v1.0 alpha4]
Don, as you are in the middle of improving the Visual Filter, let me remind you of this. This wish celebrates its birthday soon, but the importance didn't change.LittleBiG wrote:This feature I myself missed badly, because I use lots of comments. However, I thougth Don would implement it much earlier, using the very simple way by extending Visual Filters to labels, tags and comments, since they are text information similar to the file name, and they can be different user by user, so they don't have strict general form as File Size or File Date. Additionaly, comments are free texts, it rarely can be define as a Power Filter. (Tags and Labels fit better to Power Filter)FluxTorpedoe wrote:- In this spirit, I don't know if I missed something but can you already "power filter" by tags/labels/comments?
XYplorer Beta Club