• 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
Crazy Sierra TextEdit Saving Infects Keynote?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crazy Sierra TextEdit Saving Infects Keynote?


  • Subject: Crazy Sierra TextEdit Saving Infects Keynote?
  • From: Christopher Stone <email@hidden>
  • Date: Mon, 09 Jan 2017 19:34:04 -0600

Hey Folks,

I was trying to export a file from Keynote to PowerPoint and had problems similar to those in the recent discussion of TextEdit on Sierra.

--------------------------------------------------------------------

set keynoteFile to alias ((path to downloads folder as text) & "whydots.key")
tell application "Finder" to set fileName to name of keynoteFile

if fileName ends with ".key" then
   set AppleScript's text item delimiters to ".key"
   set newFileName to text item 1 of fileName
else
   set newFileName to fileName
end if

set newFileName to newFileName & ".pptx"
set savePath to (path to desktop folder as text) & newFileName

tell application "Keynote"
   open keynoteFile
   export front document to savePath as Microsoft PowerPoint
end tell

--------------------------------------------------------------------

I've tried all kinds of alternatives for savePath including HFS-path, Posix-Path, and «class furl».

Does anyone have a solution to this conundrum?

--
Best Regards,
Chris

 _______________________________________________
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

  • Follow-Ups:
    • Re: Crazy Sierra TextEdit Saving Infects Keynote?
      • From: Ray Robertson <email@hidden>
  • Prev by Date: Re: Strange error -10810 when running applets
  • Next by Date: Error 6 with exporting PDF from Keynote
  • Previous by thread: Re: Strange error -10810 when running applets
  • Next by thread: Re: Crazy Sierra TextEdit Saving Infects Keynote?
  • Index(es):
    • Date
    • Thread