• 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: gweston <email@hidden>
  • Date: Sun, 20 Mar 2011 15:05:30 +0000 (GMT)

Brad Stone wrote:
 
On Mar 19, 2011, at 11:04 PM, Brad Stone wrote:

I do need it to work for any app, not just Word or XL.
 
I guess a poor workaround would be since it's not possible to reliably check if the file is open>
I can force the user to quit the file's default app before allowing them to encrypt. It's just kind of heavy-handed.
After sleeping on it my choices are to remove the encryption feature or make a big ugly dialog box warning the user if they encrypt a file that's open they will lose their changes. Neither of these approaches are optimum.
 

And yet either of them are better than the prior idea. Forcing the user to close the PDF and 2 JPGs they have open in Preview so they can use your application to process a PNG (that's open in GraphicConverter) is not only heavy-handed, but doesn't actually provide any benefit to you. Go with the warning; I think users will be able to cope with the fact that changes they save after using your app aren't going to be reflected in your app's output.


_______________________________________________

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


  • Prev by Date: Re: Is a file open in another application?
  • Next by Date: Re: iPhone animation puzzle
  • Previous by thread: Re: Is a file open in another application?
  • Next by thread: Visual feedback of invalid cell data from Core Data - how to?
  • Index(es):
    • Date
    • Thread