• 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
Finder Locked v. StationaryPad
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder Locked v. StationaryPad


  • Subject: Finder Locked v. StationaryPad
  • From: "Steve@MacDotCom" <email@hidden>
  • Date: Sun, 2 Apr 2006 03:07:28 -0500

Folks;

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?

Thanks!
Steve

_______________________________________________
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


  • Follow-Ups:
    • Re: Finder Locked v. StationaryPad
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: Objetive-C sintax
  • Next by Date: Re: Weirdness in my PowerBook. /bin/ps spawned by NSTask never exits
  • Previous by thread: Re: Objetive-C sintax
  • Next by thread: Re: Finder Locked v. StationaryPad
  • Index(es):
    • Date
    • Thread