• 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: Suggestions for handling old document files with file paths in a sandbox environment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestions for handling old document files with file paths in a sandbox environment


  • Subject: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • From: Mike Abdullah <email@hidden>
  • Date: Thu, 04 Oct 2012 22:30:05 +0100

On 4 Oct 2012, at 20:18, Marshall Houskeeper <email@hidden> wrote:

> Hi Mike,
>
> Our products are a  video/audio editor  application and video effect plugins.   In both cases, our file formats (data block for plugin data) can store many file references.  Our files keep references to file types such as quicktime movies, audio files and text files as well as links to our program and bin files.    We have been shipping products well before the introduction of security-scoped bookmarks.  Our customers have very large libraries of edited shows that they often go back  to edit or review.  The data for these programs is often spread  across multiple disk volumes.

Right, so how are you storing that reference? A raw path?

I wasn't terribly clear I'm afraid: Bookmark data was introduced in OS X 10.6. It's only with 10.7.3 that you could generate security-scoped bookmarks. The two are completely compatible though; 10.6 can happily handle security-scoped bookmarks. And 10.7+ can decode the old bookmarks, just without the ability to actually access them.

Another approach you could take, or perhaps do alongside the document-scoped bookmarks, is to ask the user what disks/folders they're using for the project. You can then save an application-scoped bookmark to that, granting you access forever more.
>
> Another wrinkle to the problem: Users commonly wil move/delete and then restore to the same or another disk the audio/video/image data while changing projects.  One feature that  we provide that will also break under sandboxing is the ability to scan the local and network drives to relink media the has been moved or restored to a new location.

Well you can pop up an open panel asking to select a folder/disk to scan. That grants you access to perform the task at least.
_______________________________________________

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: 
 >Suggestions for handling old document files with file paths in a sandbox environment (From: Marshall Houskeeper <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Sean McBride <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Charles Srstka <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Quincey Morris <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Marshall Houskeeper <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Quincey Morris <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Marshall Houskeeper <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Mike Abdullah <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Marshall Houskeeper <email@hidden>)

  • Prev by Date: Key presses in NSView
  • Next by Date: Re: Key presses in NSView
  • Previous by thread: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • Next by thread: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • Index(es):
    • Date
    • Thread