• 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
NSOpenPanel and showing file name's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOpenPanel and showing file name's


  • Subject: NSOpenPanel and showing file name's
  • From: Scott Mitchell <email@hidden>
  • Date: Wed, 2 Nov 2005 15:17:29 -0700

Hi All,
I need to do something and can not figure out how. Here is what I need to do.


I am working on an Application that is also on Windows. This is a complete re-write from the old OS 9 version, and
there are certain things I need to be able to do. One of them is to be able to open files, but not display the actual file name,
but a string that is stored in the header of the file. So what I want to do, is like what we used to be able to do on OS 9, intercept the file
before it is placed in the Open Panel Table, open the header for that file, get a string value, and replace the actual file name with this string.
The reason we do this, is actual file names are the eight dot 3 conversion (xxxxxxx.yyy) for Windows. And they are randomly assigned names
when the file is created by our server software we designed on Windows. These names will mean nothing to the users, but the name
that the user set it too inside the document is what they will be looking for. So for example we could have a file with an actual file name
be something like 'WOO84567.G2C', but the teacher gave this file a name like this '1st-Math Eighth Grade', which they enter through
our interface which then stores this string in the header of this file. So when they go to open this file I want to display the name
'1st-Math Eighth Grade' instead of 'WOO84567.G2C', because they don't know the actual file name nor do we want them to for
reason's beyond explanation here.


So what I am looking for is a way to override the display, to show file names, or if anyone has re-written the NSOpenPanel to allow users
to change the display string for a file, and is either open sourced or for sale.


Any help would be appreciated.


Thanks, Scott Mitchell Macintosh Software Engineer Excelsior Software http://www.excelsiorsoftware.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSOpenPanel and showing file name's
      • From: j o a r <email@hidden>
  • Prev by Date: Impossible to cancel NSPrintPanel programatically?
  • Next by Date: Re: Two NSTableViews acting as one
  • Previous by thread: Impossible to cancel NSPrintPanel programatically?
  • Next by thread: Re: NSOpenPanel and showing file name's
  • Index(es):
    • Date
    • Thread