• 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
Re: Indesign CS2 Export Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indesign CS2 Export Script


  • Subject: Re: Indesign CS2 Export Script
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 19 Jul 2007 23:29:14 +1000
  • Thread-topic: Indesign CS2 Export Script

This is untested, but should get you started:

on open fileList
    set deskPath to path to desktop as Unicode text
    repeat with aFile in fileList
        tell application "Adobe InDesign CS3"
            open aFile
            set thename to name of active document as Unicode text
            if thename ends with ".indd" then
                set thename to text 1 thru -6 of thename
            end if
            export active document format InDesign interchange to file
(deskPath & thename & ".inx")
            close active document saving no
            open file (deskPath & thename & ".inx")
            export active document format InDesign interchange to file
(deskPath & "Refresh:" & thename & ".inx")
            close active document saving no
        end tell
        tell application "Finder"
            delete file (deskPath & thename & ".inx")
        end tell
    end repeat
end open

--
Shane Stanley <email@hidden>
<http://scriptingmatters.com/aspro>


 _______________________________________________
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

References: 
 >Indesign CS2 Export Script (From: "Gahlla, Sunny" <email@hidden>)

  • Prev by Date: Re: Getting the URL
  • Next by Date: Apple Remote Desktop scripting problem
  • Previous by thread: Re: UI Scripting of Acrobat Pro
  • Next by thread: Opening Filemaker 8 DB
  • Index(es):
    • Date
    • Thread