Re: problems with permissions on TextEdit "make new doc"
Re: problems with permissions on TextEdit "make new doc"
- Subject: Re: problems with permissions on TextEdit "make new doc"
- From: "Stockly, Ed" <email@hidden>
- Date: Sat, 28 May 2016 00:41:53 +0000
- Thread-topic: problems with permissions on TextEdit "make new doc"
What I think is happening here is that you're giving the file a name, but not saving it anywhere. So TextEdit, has a named document with no path to save it (an unnatural and once impossible state). When it does its helpful autosave it sends the document
to the application's secret internal location. The autosaved file probably has a name that begins with a . (dot) so you can't see it.
The workaround would be to make the new document, with all the properties except the name, and save it immediately with the name to the temporary items folder (if you don't want to keep it) or the documents folder or some other folder where you do have
permission.
The other question, why don't you have permission to write that file in that directory? That's for your own good. You start mucking around in the directories that applications use to do their thing is just asking for trouble. If you don't mind asking for
trouble, you do have access to those files and directories with a root sign on, but an application may still be reluctant to let you change stuff in it's own directory.
HTH
I don’t know how much of this will seem ridiculous, how much interesting, and how much helpful, but I invite you to read my post on the Apple Community site about AppleScript, new doc
in TextEdit, serious error with permissions on doc. You probably should read my very short reply that follows it before embarking on the project of digesting the longer post.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden