Page 1 of 1
ico on manage command - open
Posted: 21 Jan 2019 09:08
by swan_x
from <manage command - open> i have one command with multiple run like this:
"<xy>" /feed="::runq 'D:\apps\blabla.exe';wait 500;runq 'D:\apps\blabla.exe';wait 500;runq 'D:\blabla.exe';"
now icon is set to default xy ico, but if i want change ico, how to?
i've try with "<D:\image\Globe.ico>" /feed="::runq 'D:\apps\blabla.exe'; .......... but not work....!
Re: ico on manage command - open
Posted: 21 Jan 2019 09:30
by highend
The command is to run XYplorer with arguments (ok, this makes no real sense to feed them back into the running instance but who cares)
and then you replace it with an icon and expect that this works?
Holy cow...
As in most other places an icon is defined in the caption in the usual format
<caption>|<some internal or external icon definition>
It's (as always) explained in the help file part for UDCs...
Re: ico on manage command - open
Posted: 21 Jan 2019 09:49
by swan_x
explanation.... i have this:
"<xy>" /feed="::runq 'D:\apps\blabla.exe';wait 500;runq 'D:\apps\blabla.exe';wait 500;runq 'D:\blabla.exe';"
and this icon: D:\image\Globe.ico
how to assign this ico at this command above??
Re: ico on manage command - open
Posted: 21 Jan 2019 09:51
by RalphM
Do a bit of reading in the help file as suggested above...
Re: ico on manage command - open
Posted: 21 Jan 2019 11:20
by swan_x
i've read the manual, but i've found only section to customized ico to portable file icons...
i don't find specific section to add ico at manage command...
if you do not want to give me an explanation, show me in the manual where i find this section, at least...
it's more complicated (for you and for me) say all these things rather than doing a simple example...
Re: ico on manage command - open
Posted: 21 Jan 2019 11:24
by highend
I already gave an example and I (again) already said where it's in the manual.
Re: ico on manage command - open
Posted: 21 Jan 2019 15:01
by bdeshi
Goto Advanced Topics > Scripting > Script Files for the Advanced. Or run this command:
Code: Select all
::rtfm "idh_scripting.htm#idh_scripting_xysadv";
Then read "Icons, States, and Levels" section which details the structure of menu captions. This is valid wherever a caption is defined.
Re: ico on manage command - open
Posted: 21 Jan 2019 17:13
by swan_x
tanxs sammay, your suggestion it's appreciated!
anyway i don't understand what is wrong... i've put my file Globe.ico into XY\Data\Icons folder, then on manage commands i've write:
"<Icons\Globe.ico>" /feed="::runq 'D:\blablabla.........
but something is not correct...
Re: ico on manage command - open
Posted: 21 Jan 2019 17:39
by highend
Seriously?
The command is to run XYplorer with arguments (ok, this makes no real sense to feed them back into the running instance but who cares)
and then you replace it with an icon
Read that 100 times until you understand what you are doing wrong there...
<Icons\Globe.ico>
That does
NOT exist
Neither is there any internal variable named <Icons\Globe.ico>
nor is there any global available path Icons (nor any combination)
And how often is it necessary to say that it is the caption that contains an optional icon? oO
Re: ico on manage command - open
Posted: 21 Jan 2019 19:28
by swan_x
ok then it is not possible...
it was no longer easy to say this?
Re: ico on manage command - open
Posted: 21 Jan 2019 19:33
by highend
ok then it is not possible...
Yeah, exactly. Everyone tells you the opposite but your logic is <censored by myself>
Does anyone want to have a moderator job? I'm offering mine (it's too much for me...)
Re: ico on manage command - open
Posted: 21 Jan 2019 21:44
by klownboy
highend wrote: ↑21 Jan 2019 19:33
Does anyone want to have a moderator job? I'm offering mine (it's too much for me...)
Thanks, but no thanks. I'm too old for that kind of punishment.
