Re: Indesign CS2 Export Script
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