Article View: adobe.scripting
Article #19Re: Script to update legacy text
From: Shane_Stanley
Date: Fri, 27 Aug 2004 02:45
Date: Fri, 27 Aug 2004 02:45
26 lines
1514 bytes
1514 bytes
In article <3bb5a51b.-1@webx.la2eafNXanI>, Jim_Daggett@adobeforums.com
wrote:
> I am trying to use a variation of this script from the "Adobe Illustrator CS
> Scripting Guide" in a longer script.
>
> tell me
> activate
> set theFile to choose file with prompt "Choose file with Legacy Text:"
> end tell
> tell application "Illustrator CS"
> activate
> open theFile with options {update legacy text:true}
> end tell
>
> My impression is after choosing the file with legacy text, the file should
> open with no further user interaction.
There's another parameter to the open command, "dialogs", that defaults
to true. Set it to false:
open theFile with options {update legacy text:true} without dialogs
--
Shane Stanley
Technical Details
Message-ID:
<06A0BF4FC1EAC42881C219A633246270@in.webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!easynews.net!easynet-isham!easynet.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb5a51b.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 109719,db825a435a6f78cf X-Google-Attributes: gid109719,public X-Google-Language: ENGLISH,ASCII-7-bit From: Shane_Stanley@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!easynews.net!easynet-isham!easynet.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting Subject: Re: Script to update legacy text Message-ID: <06A0BF4FC1EAC42881C219A633246270@in.webx.la2eafNXanI> Date: Thu, 26 Aug 2004 19:45:22 -0700 References: <3bb5a51b.-1@webx.la2eafNXanI> Lines: 30 Mail-Copies-To: nobody User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit