Re: Pages 4.3 and Mavericks - Can't export as PDF
Re: Pages 4.3 and Mavericks - Can't export as PDF
- Subject: Re: Pages 4.3 and Mavericks - Can't export as PDF
- From: Shane Stanley <email@hidden>
- Date: Mon, 04 Nov 2013 13:23:28 +1100
On 4 Nov 2013, at 5:53 AM, Lists <email@hidden> wrote:
> The pertinent part of my script that is broken is:
>
> set filesname to (path to desktop folder as string) & "grief." & "pdf"
> tell application "Pages"
> save document 1 in filesname
> end tell
What happens if you change it to:
set filesname to (path to desktop folder as string) & "grief." & "pdf"
tell application "Pages"
save document 1 in file filesname
end tell
You shouldn't use paths with sandboxed applications.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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