I see two possible causes for your problem.
[1] Maybe (after training PP correctly to recognise that tray icon)
you are using incorrect syntax in the command for your hotkey which
attempts to send a right click to that icon.
That seems possible, from reading your question:
Ben> If it is supposed to work, do I send the extra commands,
> like {ad}{en}, in the same box as the tray icon name or in
> the "Enter more commands..." box?
So, please post an exact copy of the text in the command fields
of the dialog of your hotkey, like this for example:
Command: *TrayIcon
Tray icon action: Right
Select tray icon...: ClocX1 {ad}{en}
More commands:
[2] You wrote:
> Does *trayicon work with WindowsXP?
Yes -- if that tray icon behaves in a standard manner.
However, no matter which Windows version from 95 to XP,
some programs' tray icons behave weirdly, such as changing
their identity string each time the icon itself changes to
indicate something.
For example TheBat used to do that (its tray icon changes to
indicate New Mail).
That's why swzoh asked you to show us your !pproinfo!.ini file.
Presumably, if the icon changes ID, then your two lines
starting ClocX1 and ClocX2 would have been different.
Your results (ClocX1 = ClocX2) are not conclusive.
Maybe you were lucky and did your second training of PP
before the ID changed.
Conclusion:
Try idea [1] first -- send us your hotkey syntax.
If your syntax was correct, then it must be one of those
naughty tray icons which confuse PP.
If so you will need a workaround:
The workaround:
Don't use PowerPro's TrayIcon features for this particular tray
icon. Instead, mimic what would have happened, but using other
commands.
You wrote > {ad}{en}
so it looks like you want your hotkey to choose the second item
on the tray icon's right-click menu.
What should that item do? meaning: what happens when you actually
right click the icon, then press the Down Arrow key, then Enter?
For example if that switches to a window, you could use
*Window Show caption -- instead of *TrayIcon...
If it closes the app then use *Window Close caption.
Or maybe a command like: *Keys {to ClocXapp} abc
will do the trick.
If you tell us what the final result should be,
then it's very likely that somebody here can tell you
how to make it happen without going via the tray icon.
Alan M
--------------------------------------------
PS
I just read your latest message
> I want to hide/unhide it
It would be easier to use *Window HideShow captionlist.
You just need to work out the correct "captionlist" parameter.
Maybe: =clocx
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/