Re: Permissions problems in Sierra
Re: Permissions problems in Sierra
- Subject: Re: Permissions problems in Sierra
- From: Axel Luttgens <email@hidden>
- Date: Thu, 22 Dec 2016 16:35:23 +0100
> Le 21 déc. 2016 à 21:47, Brian Christmas a écrit :
>
> G’day Axel
>
> I’ve tried everything like that. This is the result ONLY since the 12.2 update
>
>
> <Screen Shot 2016-12-22 at 7.45.58 am.png>
Hello Brian,
All of this made me vaguely reminiscent of something already encountered earlier; here it is:
http://lists.apple.com/archives/applescript-users/2012/Oct/msg00136.html
So, this one seems to work under both El Capitan and Sierra (tested on a VM):
set newFile to POSIX file (POSIX path of (path to desktop folder) & "test.rtfd")
tell application "TextEdit"
tell document 1
close saving yes saving in newFile
end tell
end tell
That is, "close" instead of "save".
HTH,
Axel
_______________________________________________
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