Article View: adobe.scripting.indesign
Article #18556Re: Open and Save x50+ Quark files using ID and AppleScript
From: Shane Stanley
Date: Tue, 11 Mar 2003 09:38
Date: Tue, 11 Mar 2003 09:38
23 lines
1580 bytes
1580 bytes
in article 1de83c9e.-1@WebX.la2eafNXanI, userone wrote:
> tell application "InDesign 2.0.2" to activate
> open file "PowerBook G4:Users:michael:Documents:Current Projects:x:x:x"
> tell application "InDesign 2.0.2"
> save document "x" in file �
> "PowerBook G4:Users:michael:Documents:Current Projects:x:x:x"
> close "x"
> end tell
The open and close commands take either paths or aliases, not file
references. Try something like this::
tell application "InDesign 2.0.2"
open "PowerBook G4:Users:michael:Documents:Current Projects:x:x:x"
save document 1 to �
"PowerBook G4:Users:michael:Documents:Current
Projects:x:x:x2"
close document 1 saving no
end tell
--
Shane Stanley, sstanley@myriad-com.com.au
Technical Details
Message-ID:
<BA93F9CF.5134D%sstanley@myriad-com.com.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de83c9e.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,8b7a6a0ea91787d5 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-11 01:38:05 PST From: Shane Stanley <sstanley@myriad-com.com.au> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Open and Save x50+ Quark files using ID and AppleScript Message-ID: <BA93F9CF.5134D%sstanley@myriad-com.com.au> Date: Tue, 11 Mar 2003 01:38:40 -0800 References: <1de83c9e.-1@WebX.la2eafNXanI> Lines: 25 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit