View Single Post
Or the other way around...

All my export tasks (except for manually choosing Export in the File menu) have stopped working as of the upgrade from the App Store.

I can't even automate exporting through Applescript:


tell application "OmniPlan"
my exporttoPdf(front document)
end tell

on exporttoPdf(doc)
tell application "OmniPlan"
set theFile to (file of doc) as string
-- remove extension and directory separator and append .pdf instead
set theFile to ((characters 1 thru -7 of theFile) as string) & ".pdf"
set theFile to "Macintosh HD:Users:myname:Desktop:xxx.pdf"
export doc to theFile as "PDF"
end tell
end exporttoPdf

I get a xxx.pdf cannot be moved since you don't have permission to access "Desktop". Same if I execute the applescript from within the publishing task.