Character Map
-
Does anyone know to programmatically bring up the special characters panel that TextEdit shows when you select the "Special Characters..." item in the Edit menu?
-
On Apr 7, 2010, at 4:28 PM, Ian was here wrote:
> Does anyone know to programmatically bring up the special characters
> panel that TextEdit shows when you select the "Special
> Characters..." item in the Edit menu?
There's a menu item for it in the Edit menu, in any new app's nib.
Take a look at what that item is wired up to.
—Jens -
On 08/04/2010, at 9:50 AM, Jens Alfke wrote:
>> Does anyone know to programmatically bring up the special characters panel that TextEdit shows when you select the "Special Characters..." item in the Edit menu?
>
> There's a menu item for it in the Edit menu, in any new app's nib. Take a look at what that item is wired up to.
The item is added dynamically when the app is run, so to find its action/target will require a little bit of code to flush it out at runtime.
--Graham -
Ian was here wrote:
> Does anyone know to programmatically bring up the special
> characters panel that TextEdit shows when you select the "Special
> Characters..." item in the Edit menu?
Paste into Terminal:
open -a CharPaletteServer
Should be able to work out the rest from that.
-- GG -
On Apr 7, 2010, at 4:28 PM, Ian was here wrote:
> Does anyone know to programmatically bring up the special characters panel that TextEdit shows when you select the "Special Characters..." item in the Edit menu?
[[NSApplication sharedApplication] orderFrontCharacterPalette:nil];
--
David Duncan
Apple DTS Animation and Printing -
Beautiful! Thanks.
--- On Wed, 4/7/10, David Duncan <david.duncan...> wrote:
From: David Duncan <david.duncan...>
Subject: Re: Character Map
To: "Ian was here" <howlewere...>
Cc: "Apple Developer Mailing List" <cocoa-dev...>
Date: Wednesday, April 7, 2010, 5:40 PM
On Apr 7, 2010, at 4:28 PM, Ian was here wrote:
Does anyone know to programmatically bring up the special characters panel that TextEdit shows when you select the "Special Characters..." item in the Edit menu?
[[NSApplication sharedApplication]Â orderFrontCharacterPalette:nil];
--David DuncanApple DTS Animation and Printing


