Re: Help on startup volume name and NSEvent characters
Re: Help on startup volume name and NSEvent characters
- Subject: Re: Help on startup volume name and NSEvent characters
- From: Rainer Brockerhoff <email@hidden>
- Date: Fri, 5 Apr 2002 15:20:08 -0300
At 07:04 -0800 05/04/2002, email@hidden wrote:
>
Date: Fri, 05 Apr 2002 16:01:35 +0200
>
From: Jean Bovet <email@hidden>
>
>
Can anyone tell me how to get the name of the startup volume ? I can get the
>
other volumes name via NSWorkspace mountedLocalVolumePaths call, but I
>
cannot get the name of the startup volume (other than "/").
[[NSFileManager defaultManager] displayNameAtPath:@"/"]
>
Also, how can I get special characters like ^ with NSEvent (within keydown
>
for example) ?
The special character didn't make it through the list manager... but in my experience there's no special handling needed, -[NSEvent characters] will return an NSString* with the special character inside.
HTH,
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)
http://www.brockerhoff.net/ (updated Feb. 2002)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.