Custom app icon
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Custom app icon
I wonder if it is possible to launch XY specifying (for example in the calling command line) a custom icon.
An example of usage would be the following: user under a limited account (me), keeping always two instances of XY, one limited and the other elevated. Both shown in the tray too. A different icon for each other would make very easy to distinguish them (I already applied a custom titlebar template, btw).
Dexpot (another portable gem) allows using custom icons in tray and taskbar. Everything (the MFT search engine) allowed this, not sure if it still does.
Any opinions?
An example of usage would be the following: user under a limited account (me), keeping always two instances of XY, one limited and the other elevated. Both shown in the tray too. A different icon for each other would make very easy to distinguish them (I already applied a custom titlebar template, btw).
Dexpot (another portable gem) allows using custom icons in tray and taskbar. Everything (the MFT search engine) allowed this, not sure if it still does.
Any opinions?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
admin
- Site Admin
- Posts: 67212
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Custom app icon
Oops, shame on me
I did scan the ini twice for keys containing the word "icon", and yet IconFile managed to be invisible at my eyes. Thank you.
I did scan the ini twice for keys containing the word "icon", and yet IconFile managed to be invisible at my eyes. Thank you.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
Nighted
- Posts: 463
- Joined: 21 Jan 2007 01:58
- Location: Gitmo Nation North, Win 7/10/Linux/(x64)
Re: Custom app icon
I was intrigued by this tweak, so I decided to test it out. I am surprised to discover that the full path to the icon must be entered, so not portable. 
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Custom app icon
Had the same problem. Then I found that Data\icons\icon.ico works fine. But <xyicons> isn't processed, probably because variables are not available at that time during startup.Nighted wrote:I was intrigued by this tweak, so I decided to test it out. I am surprised to discover that the full path to the icon must be entered, so not portable.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
admin
- Site Admin
- Posts: 67212
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom app icon
No, I think that should be possible to add. Let me try...
FAQ | XY News RSS | XY X
-
Nighted
- Posts: 463
- Joined: 21 Jan 2007 01:58
- Location: Gitmo Nation North, Win 7/10/Linux/(x64)
Re: Custom app icon
That is true. I was using the same short path for my catalog/toolbar icons before <xypath> and <xyicons> got implemented.Marco wrote:Had the same problem. Then I found that Data\icons\icon.ico works fine. But <xyicons> isn't processed, probably because variables are not available at that time during startup.
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.
-
admin
- Site Admin
- Posts: 67212
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom app icon
Currently it is relative to app path. Next version you can use XY Variables (e.g. <xyicons>) and Environment Variables. 
FAQ | XY News RSS | XY X
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: Custom app icon
What?! You can set up custom icon for the main program?! I scan through it many times before and like Marco, miss it. Anyways looking forward to the next version where you can use variables.
Anyway this is so neat. Currently setting the icon to an Apple. Yeah yeah, I know an Apple has nothing to do with XYplorer but it looks neat. You have to admit, it's pretty cute.
Anyway this is so neat. Currently setting the icon to an Apple. Yeah yeah, I know an Apple has nothing to do with XYplorer but it looks neat. You have to admit, it's pretty cute.
To see the attached files, you need to log into the forum.
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Custom app icon
I've set IronMan, currently.
To see the attached files, you need to log into the forum.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: Custom app icon
Hahaha Don would definitely like that more than mine. I don't think he would like a cutesy apple representing his program. Iron Man on the other hand...
-
Nighted
- Posts: 463
- Joined: 21 Jan 2007 01:58
- Location: Gitmo Nation North, Win 7/10/Linux/(x64)
Re: Custom app icon
HAL 9000 
To see the attached files, you need to log into the forum.
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Custom app icon
Be careful, it might lock you out of your computerNighted wrote:HAL 9000
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
admin
- Site Admin
- Posts: 67212
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom app icon
CI-wise I made a bad mistake here. I would rather see the icon continue to represent the gods of exploration. But, if you want to know, I like the apple best. 
FAQ | XY News RSS | XY X
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Custom app icon
So the original icon is confirmed to be an oriental ideogram? I guess most people outside far east Asia don't know or even suspect it...
Anyway, will IconFile also support syntax like <get username> and/or <get userrole> in the path?
Anyway, will IconFile also support syntax like <get username> and/or <get userrole> in the path?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
XYplorer Beta Club