Portable file icons
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Portable file icons
WOWWW This bug is... Totally Awesome!!!
Following this idea, I just mapped a new folder icon to possible flash drives (sub)folders.
"FlashDrives" [FGHIJKL]:\*\><xydata>\[Icons]\Folder_Orange.ico
Plug one in and Voila! You just have a visual difference between your local HDD and your flash drives. Then you could have another hue for network drives (for the lucky ones), for your removable backup drives, etc. This raises one question (geez, you'll really get mad at us! )
It may be detrimental to speed, but you'll be the judge:
Considering this could be very useful to have different "tinted" folders (or whatever fancy stuff one wants) for whole drives, could we have a "flag" of sorts to tell XY to not take precedence over Desktop.ini?
e.g. a @ prefix: @"FlashDrives" [FG...
- or we can already iconize those folders upper in PFI, but this may not be easy for removable drives...(especially in a portable environment)
In any case, I think I'm gonna love that feature!...
Edit: or maybe a general tweak to always (dis)respect desktop.ini
Edit2: Another approach, if feasible, could be to tell XY to replace the default folder icon (the one used by the system when no desktop.ini is present)... So we'd have, e.g. "FlashDrives" [FGHIJKL]:\@*\><xyexe>
Following this idea, I just mapped a new folder icon to possible flash drives (sub)folders.
"FlashDrives" [FGHIJKL]:\*\><xydata>\[Icons]\Folder_Orange.ico
Plug one in and Voila! You just have a visual difference between your local HDD and your flash drives. Then you could have another hue for network drives (for the lucky ones), for your removable backup drives, etc. This raises one question (geez, you'll really get mad at us! )
It may be detrimental to speed, but you'll be the judge:
Considering this could be very useful to have different "tinted" folders (or whatever fancy stuff one wants) for whole drives, could we have a "flag" of sorts to tell XY to not take precedence over Desktop.ini?
e.g. a @ prefix: @"FlashDrives" [FG...
- or we can already iconize those folders upper in PFI, but this may not be easy for removable drives...(especially in a portable environment)
In any case, I think I'm gonna love that feature!...
Edit: or maybe a general tweak to always (dis)respect desktop.ini
Edit2: Another approach, if feasible, could be to tell XY to replace the default folder icon (the one used by the system when no desktop.ini is present)... So we'd have, e.g. "FlashDrives" [FGHIJKL]:\@*\><xyexe>
Last edited by FluxTorpedoe on 22 Apr 2013 15:56, edited 2 times in total.
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Portable file icons
Don, when do variables get processed?
For instance (working from FluxTorpedoe's suggestion) given a pattern of:Which should change the drive and its folder icons (right?) - will that correctly update each time a removable drive is added/removed?
EDIT: And yes I do realize this will fail when there are no removable drives.
Was kind of curious to know if something like the following would work:
For instance (working from FluxTorpedoe's suggestion) given a pattern of:
Code: Select all
"Removable Drives" <get Drives 2 ";">;<get Drives 2 "*\;">*\><xyexe>
EDIT: And yes I do realize this will fail when there are no removable drives.
Was kind of curious to know if something like the following would work:
Code: Select all
"Inactive Pane's CurItem" <get Item I>><xyexe>
-
- Site Admin
- Posts: 60632
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Portable file icons
No, won't work. These variables are processed on startup, and when you update any CFI definition.TheQwerty wrote:Don, when do variables get processed?
For instance (working from FluxTorpedoe's suggestion) given a pattern of:Which should change the drive and its folder icons (right?) - will that correctly update each time a removable drive is added/removed?Code: Select all
"Removable Drives" <get Drives 2 ";">;<get Drives 2 "*\;">*\><xyexe>
EDIT: And yes I do realize this will fail when there are no removable drives.
Was kind of curious to know if something like the following would work:Code: Select all
"Inactive Pane's CurItem" <get Item I>><xyexe>
FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 60632
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Portable file icons
Uh, you mean to customize only the icons of those folders that are not already customized via desktop.ini?FluxTorpedoe wrote:This raises one question (geez, you'll really get mad at us! )
It may be detrimental to speed, but you'll be the judge:
Considering this could be very useful to have different "tinted" folders (or whatever fancy stuff one wants) for whole drives, could we have a "flag" of sorts to tell XY to not take precedence over Desktop.ini?
e.g. a @ prefix: @"FlashDrives" [FG...
FAQ | XY News RSS | XY Twitter
Re: Portable file icons
Very nice icons he has - mind to share them?Enternal wrote:Well unfortunately there's too many icons right now to deal with. However I can show you which icons is in my arsenal
...
The one you see right now are all my favorite ones so I always have them out ready to be used.
But you in combination with Enternal's tasty shots made me think about right that. I really thought I'm long over this cosmetic stuff for a long time.admin wrote:It wasn't my plan to make you waste your time with icons.
WTF, yes, this feature seems to be indeed helpful! How many folder colors do you have, minde to share them?FluxTorpedoe wrote: "FlashDrives" [FGHIJKL]:\*\><xydata>\[Icons]\Folder_Orange.ico
Plug one in and Voila! You just have a visual difference between your local HDD and your flash drives. Then you could have another hue for network drives (for the lucky ones), for your removable backup drives, etc.
Back to scripting...
Cheers,
Filehero
-
- Site Admin
- Posts: 60632
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Portable file icons
BTW, [F-L] should work as well place of [FGHIJKL].
FAQ | XY News RSS | XY Twitter
Re: Portable file icons
Hi Don and master of icons,
though I work hard to withstand I really start to see the benefit of PFIs even for a stationary XY installation.
Subject to the individual icon contributions and/or license issues, what do you think about providing the next XY release with an optional set made of icon definitions/mappings for major/standard extensions and some of those nice icons? Haven't thought about realization yet, though.
Additionally I'm asking for a new XY variable <xyicons> mapping to a new standard XY path for icon resources.
Cheers,
Filehero
though I work hard to withstand I really start to see the benefit of PFIs even for a stationary XY installation.
Subject to the individual icon contributions and/or license issues, what do you think about providing the next XY release with an optional set made of icon definitions/mappings for major/standard extensions and some of those nice icons? Haven't thought about realization yet, though.
Additionally I'm asking for a new XY variable <xyicons> mapping to a new standard XY path for icon resources.
Cheers,
Filehero
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Portable file icons
Exactly! Because right now it's extremely powerful, but well... a bit too powerful in fact.admin wrote:Uh, you mean to customize only the icons of those folders that are not already customized via desktop.ini?
Scenario:
- All your removable drives have "Greenish" folders,
- All your network drives have "Blueish" folders,
- All your backup drives have "Redish" folders,
- They may all have a few specific iconized folders (via their desktop.ini) that you want to keep,
>> You can do this by manually reassigning each of them on top in PFI, but this can be tedious and very problematic with fluctuating drive letters,
We could have an option that says to XY: "only iconize non-desktopini-iconized folders"; or in other words/code "the following icon is not a replacement for ALL folder icons, but only a replacement for the system default folder icon". So,
"FlashDrives" [F-L]:\*\><xydata>\[Icons]\Folder_Green.ico
would mean: Use Folder_Green.ico as the folder icon for all subfolders of drives F to L.
@"FlashDrives" [F-L]:\*\><xydata>\[Icons]\Folder_Green.ico
would mean: Use Folder_Green.ico as the default folder icon for all subfolders of drives F to L - but (re)draw with desktop.ini if present.
---------
@Filehero
The colored folders icons are from the "places\nuvola-style" folders in the Open Icon Library. There seems to be 8 different colors. I could repost them (I think the open license allows it, should check) but I guess I'll make my own more subtle (less saturated) ones before anyway...
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
-
- Site Admin
- Posts: 60632
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Portable file icons
OK, agreed. I'll add a switch "/d"...FluxTorpedoe wrote:Exactly! Because right now it's extremely powerful, but well... a bit too powerful in fact.admin wrote:Uh, you mean to customize only the icons of those folders that are not already customized via desktop.ini?
FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 60632
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Portable file icons
1. Tricky. Tastes differ. I rather let them choose what's "nice".Filehero wrote:Subject to the individual icon contributions and/or license issues, what do you think about providing the next XY release with an optional set made of icon definitions/mappings for major/standard extensions and some of those nice icons? Haven't thought about realization yet, though.
Additionally I'm asking for a new XY variable <xyicons> mapping to a new standard XY path for icon resources.
2. Yep.
FAQ | XY News RSS | XY Twitter
Re: Portable file icons
Yeah, saw and still see your issue.admin wrote:1. Tricky. Tastes differ. I rather let them choose what's "nice".
I rather meant the config you will for sure create to get the screenshots for the feature release descriptions showing all the new eyecandy. This "setup" could be co-released as an example config.
Cheers,
Filehero
-
- Site Admin
- Posts: 60632
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Portable file icons
Yes, maybe a self-referential gag like this:
Code: Select all
<xyicons>\>SmileyHearts.ico
- Attachments
-
- SmileyHearts.zip
- (39 KiB) Downloaded 100 times
FAQ | XY News RSS | XY Twitter
Re: Portable file icons
Don, I suggest you include one of Muroph's script icons (or make one yourself) and then an example definition could be:Filehero wrote:Yeah, saw and still see your issue.admin wrote:1. Tricky. Tastes differ. I rather let them choose what's "nice".
I rather meant the config you will for sure create to get the screenshots for the feature release descriptions showing all the new eyecandy. This "setup" could be co-released as an example config.
Code: Select all
"XYplorer Script Files" xys><xyicons>\XYS.ico
Similar thought was for a custom INI icon which could be applied to:
Code: Select all
"XYplorer Configuration Files" <xypath>\*.ini;<xydata>\*.ini><xyicons>\INI.ico
*shrugs* Just a thought.
-
- Site Admin
- Posts: 60632
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Portable file icons
Makes sense, I'll think about something.
BTW, since icon path now defaults to <xyicons> this is enough if the icons are in <xyicons>:
BTW, since icon path now defaults to <xyicons> this is enough if the icons are in <xyicons>:
Code: Select all
"XYplorer Script Files" xys>xys.ico
"XYplorer Icon Path" <xyicons>\>SmileyHearts.ico
FAQ | XY News RSS | XY Twitter
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Portable file icons
Yeeeeehaaaaaa!!!! (Forgive me for the bad spelling )admin wrote:OK, agreed. I'll add a switch "/d"...
Instantly identifiable drives...
Just terrific!
As a side note, I don't know if it's voluntary but we must now prefix bracketed drives e.g. [FG] with a * for PFI to work, so a working line (in XYv12.30.0207) to color subfolders should now be e.g.:
"FlashDrives" *[F-L]:\*\ /d>Folder_Green.ico
Edit: Woops, forgot to include the great /d in the example!
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...