Page 1 of 1
the special character "cmd"
Posted: Wed May 26, 2010 11:54 am
by Offin
Could you please tell me how to display the special character for "cmd" ?
I mean the character which is displayed on the cmd key of the MacBook computer.
I would like to put it in the menu (SetMenuItemText()).
Re: the special character "cmd"
Posted: Sat May 29, 2010 12:39 am
by WilliamL
That's a question I've asked myself. I googled it and came up with this...
http://forums.macrumors.com/showthread.php?t=189876 (wingdings and type z - works for me)
I also came across this tidbit but I haven't tried it.
http://ls.berkeley.edu/mail/magnet/2004/0473.html
⌘⌘⌘⌘ < copying it works too
( = alt+shift+k)
Re: the special character "cmd"
Posted: Sun May 30, 2010 12:37 am
by Niffo
You can obtain these characters with Chr(Val("$2318")) and Chr(Val("$F8FF"))
(do not forget to be in Unicode mode)
Re: the special character "cmd"
Posted: Sun May 30, 2010 4:04 pm
by Offin
Works great.
Thanks Niffo.