Page 1 of 1
Icon Pointer
Posted: 07 Nov 2013 08:20
by armsys
Referring to
Scripting |
Icons and States in the manual
You can pass * as placeholder to use the caption as icon pointer:
"C:\|*" goto "C:\";
"C:\Windows|*" goto "C:\Windows";
Questions
What's the Icon Pointer?

What's the State?
XY29.jpg
Re: Icon Pointer
Posted: 07 Nov 2013 08:41
by binocular222
Uhm, I feel the manual is quite clear:
if you have a script which popup a menu with multiple captions, then
1) State:
Each caption can have a defined State:
State Default = 1
State Checked = 2 (a small tickmark on the left of caption)
State Disabled = 4 (grayout, cannot click on)
2) *
The caption's icon is derived from caption verb. i.e:
"Desktop|*" msg Hi;
this will use the Windows Desktop icon
P.S: From your screenshot, I can see the icon used for C:\ and C:\Windows are different. That's the result from usage of *
Re: Icon Pointer
Posted: 07 Nov 2013 08:55
by armsys
binocular222 wrote:Uhm, I feel the manual is quite clear...
I still prefer your crystal clear clarification.
But the outcome isn't shown as advertised.
Referring to the script (see the screenshots below), how come Line 3 is missing from the popup menu?

Re: Icon Pointer
Posted: 07 Nov 2013 09:10
by binocular222
Then, it should be a bug.
Re: Icon Pointer
Posted: 07 Nov 2013 09:54
by admin
No, it's one of the nice "improvements" Vista has brought to us: From Vista onwards only one item per menu can be bold.
Re: Icon Pointer
Posted: 07 Nov 2013 10:06
by armsys
admin wrote:No, it's one of the nice "improvements" Vista has brought to us: From Vista onwards only one item per menu can be bold.
Thanks Don.
