Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Locked v. StationaryPad



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Finder Locked v. StationaryPad (From: "Steve@MacDotCom" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.