ico on manage command - open

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

ico on manage command - open

Post 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....!

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: ico on manage command - open

Post 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...
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

Re: ico on manage command - open

Post 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??

RalphM
Posts: 1935
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: ico on manage command - open

Post by RalphM »

Do a bit of reading in the help file as suggested above...
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

Re: ico on manage command - open

Post 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...

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: ico on manage command - open

Post by highend »

I already gave an example and I (again) already said where it's in the manual.
One of my scripts helped you out? Please donate via Paypal

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: ico on manage command - open

Post 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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

Re: ico on manage command - open

Post 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...

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: ico on manage command - open

Post 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
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

Re: ico on manage command - open

Post by swan_x »

ok then it is not possible...
it was no longer easy to say this?

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: ico on manage command - open

Post by highend »

ok then it is not possible...
Yeah, exactly. Everyone tells you the opposite but your logic is <censored by myself> :blackstorm:

Does anyone want to have a moderator job? I'm offering mine (it's too much for me...)
One of my scripts helped you out? Please donate via Paypal

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: ico on manage command - open

Post 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. :roll:
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

Post Reply