🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18087

Re: OT: Difference in behaviour between Illustrator and InDesign

#18087
From: Shane Stanley
Date: Mon, 28 Apr 2003 23:02
28 lines
1830 bytes
in article 1de8e9a8.-1@WebX.la2eafNXanI, Ton Kuypers wrote:

> I know this forum is dedicated to InDesign Scripting, but there is no
> Illustrator Scripting forum

FYI, the AI people regularly post to the Adobe Scripting forum.
 
> 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.

AFAIK, it can't be done. I suspect it's just a result of the different ways
scripting has been implemented in the two apps.

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <BAD3F012.57EB8%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de8e9a8.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,8ff337a3634153d6
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-28 16:09:02 PST
From: Shane Stanley <sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: OT: Difference in behaviour between Illustrator and InDesign
Message-ID: <BAD3F012.57EB8%sstanley@myriad-com.com.au>
Date: Mon, 28 Apr 2003 16:02:12 -0700
References: <1de8e9a8.-1@WebX.la2eafNXanI>
Lines: 32
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