Article View: adobe.scripting.indesign
Article #18086OT: Difference in behaviour between Illustrator and InDesign
From: Ton Kuypers
Date: Mon, 28 Apr 2003 22:51
Date: Mon, 28 Apr 2003 22:51
22 lines
1662 bytes
1662 bytes
I know this forum is dedicated to InDesign Scripting, but there is no Illustrator Scripting forum, so I'm posting my question in here as well... The command tell application "InDesign 2.0.2" open alias "MacHarley:Users:ton:Desktop:test:Test.indd" end tell opens the correct file but leaves InDesign in the back, so my frontend remains available. When using the same command in Illustrator: tell application "Adobe Illustrator 10" open alias "MacHarley:Users:ton:Desktop:test:Test.eps" end tell Illustrator switched to the foreground. Does anybody know how to prevent this, I really need to have my application in front. I already tried to add a "activate" command inside the script to re-activate my program, but all those flashing windows makes it impossible to do anything in the program sending the AppleScripts and showing the progress... Any help would be welcome. Warm regards and many thanks in advance, Ton Kuypers
Technical Details
Message-ID:
<1de8e9a8.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,8ff337a3634153d6,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-04-28 16:09:00 PST From: "Ton Kuypers" <tkuypers@pandora.be> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: OT: Difference in behaviour between Illustrator and InDesign Message-ID: <1de8e9a8.-1@WebX.la2eafNXanI> Date: Mon, 28 Apr 2003 15:51:50 -0700 Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit