• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help on startup volume name and NSEvent characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help on startup volume name and NSEvent characters


  • Subject: Re: Help on startup volume name and NSEvent characters
  • From: Jean Bovet <email@hidden>
  • Date: Sat, 06 Apr 2002 12:52:23 +0200

> 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:@"/"]

Thank you very much!

>
>
>> 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.
>

In fact I need to get special characters because I'm writing an equation
editor and characters like ^ must be handled: the NSString* returned by
[NSEvent characters] is empty for those specials characters... any idea ?

Regards,

Jean Bovet
_______________________________________________
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.

References: 
 >Re: Help on startup volume name and NSEvent characters (From: Rainer Brockerhoff <email@hidden>)

  • Prev by Date: Re: How to make links clickable in an NSTextView
  • Next by Date: AppleScript in Cocoa code
  • Previous by thread: Re: Help on startup volume name and NSEvent characters
  • Next by thread: Dynamic Languages [was: Re: why Obj-C]
  • Index(es):
    • Date
    • Thread