• 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: Is a file open in another application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is a file open in another application?


  • Subject: Re: Is a file open in another application?
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 20 Mar 2011 12:13:15 -0700

On Sun, Mar 20, 2011 at 11:59 AM, Quincey Morris
<email@hidden> wrote:
> Second, if you're providing a list, you'll have to make sure that you know where to find the *current* (i.e. last saved) version of the file, in case the file gets saved since the list was constructed. In many cases, the file system identity of the file is preserved by the end of the save process**, although the details are going to vary by application. Presumably you'll have some kind of alias or URL bookmark to get this right.

In some normal use cases, files don't even keep the same name when
saved. For example, saving a rich text document in TextEdit produces
an .rtf file, but if you add pictures and re-save it deletes the .rtf
file and saves a .rtfd document package instead. So the same document
doesn't even keep the same on-disk name after save.

OmniGraffle has the same behavior if the "Compress on disk" checkbox
on the Document tab of the Document inspector is unchecked, but it
uses .graffle for both flat files and document packages. So saving
your document might convert its on-disk representation from a file to
a directory.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Is a file open in another application? (From: Brad Stone <email@hidden>)
 >Re: Is a file open in another application? (From: Conrad Shultz <email@hidden>)
 >Re: Is a file open in another application? (From: Kyle Sluder <email@hidden>)
 >Re: Is a file open in another application? (From: Conrad Shultz <email@hidden>)
 >Re: Is a file open in another application? (From: Charles Srstka <email@hidden>)
 >Re: Is a file open in another application? (From: Brad Stone <email@hidden>)
 >Re: Is a file open in another application? (From: Brad Stone <email@hidden>)
 >Re: Is a file open in another application? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Is a file open in another application?
  • Next by Date: Exception not being caught
  • Previous by thread: Re: Is a file open in another application?
  • Next by thread: Re: Is a file open in another application?
  • Index(es):
    • Date
    • Thread