Page 1 of 1
on-demand custom app icons
Posted: 08 Jul 2017 10:03
by bdeshi
I'm working with multiple independent XYplorer sessions (windows). Can I get an option and/or scripting command to set a custom app icon per-session?
Kind of like this tweak, but not global and applicable from within the app (ie. while it's running)
Code: Select all
; Tweak: custom app icon
IconFile=
Custom icons are much better at instance differentiation than different title templates - just a glance at the taskbar.
Re: on-demand custom app icons
Posted: 08 Jul 2017 10:27
by Marco
Code: Select all
; Tweak: custom app icon
IconFile=<xyicons>\<get username>.ico
I have this, depending on the privileges XY is running with (admin or restricted user) I have a different icon.
Not exactly what you have in mind but it can be a starting point for the time being.
Re: on-demand custom app icons
Posted: 08 Jul 2017 11:09
by bdeshi
Didn't even realize variables can be allowed here!
Tested environment variables and aliases.
Code: Select all
ini key: IconFile=<xyicons>\%xyappicon%.ico
run cmd: set xyappicon=appicons\lib && xyplorer.exe
Aliases also work, but are rather cumbersome; requires XYplorer restart, and it's global too. I'll stick with env.vars for now.

Thanks for the hint.
Would still like a method to change appicon "on the run".
Re: on-demand custom app icons
Posted: 08 Jul 2017 16:17
by RalphM
Are your different windows using different ini's and /data path?
If yes, you could just place a different ico in each of the /data path but with the same name and load this.
Re: on-demand custom app icons
Posted: 08 Jul 2017 18:47
by bdeshi
nope, same profile. I just start multiple xy and load specific tabsets when necessary. Very small difference, does not warrant multiple profiles [yet].