Re: FSCopyObjectAsync: useless and crippled
Re: FSCopyObjectAsync: useless and crippled
- Subject: Re: FSCopyObjectAsync: useless and crippled
- From: Greg Hurrell <email@hidden>
- Date: Sun, 15 May 2005 15:18:55 +0200
El 14/05/2005, a las 5:58, Steve Gehrman escribió:
You want FSCopyObject to pop-up a dialog and ask the user to
authenticate a copy of a file they don't have permission to read?
Then switch to privileged execution mode if it needs to?
Automatically?
Yes. Why not? Isn't OS X a modern operating system? Why should
it be so difficult?
I couldn't disagree more strongly. I can only assume that you haven't
got much programming experience or that you're being deliberately
trollish. This has nothing at all to do with Mac OS X being modern
(or not). The File Manager API is a fairly low-level API, yet you're
expecting it to behave like an extremely high-level one. Having File
Manager APIs throwing up dialogs and elevating privileges would be
like having the malloc() function throwing up a pie chart of memory
usage whenever an allocation failed. If you want the Finder to handle
your copying for you and throw up dialogs on your behalf, control it
with AppleScript.
Greg _______________________________________________
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