Re: Finder Locked v. StationaryPad
Re: Finder Locked v. StationaryPad
- Subject: Re: Finder Locked v. StationaryPad
- From: "Sean McBride" <email@hidden>
- Date: Wed, 5 Apr 2006 16:21:27 -0400
- Organization: Rogue Research
On 2006-04-02 03:07, Steve@MacDotCom said:
>I have some templates that I want to install as 'Stationary Pad's.
>I want the user to be able to open and modify them BUT not save them
>- use save as....
>
>[fileManager changeFileAttributes:[NSDictionary dictionaryWithObject:
>[NSNumber numberWithBool:YES] forKey:NSFileImmutable] atPath:myPath]
>gives me a 'Locked' file.
>(I had thought that this would cause problems with 'Trash' but to my
>surprise as long as I wrap the file in a folder I can trash it
>without remark by Finder)
>
>Sooo
>1) What are all the differences between 'Locked' & 'Stationary Pad'
>
>2) How do I setStationaryPad in Cocoa?
Well, since no one else has replied... I'll just say that I'm pretty
sure that Cocoa has no concept of stationary pads... and the concept
seems to have fallen out of favour on Mac OS X in general.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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