🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18721

Re: How can I change the tool in the UI [AS]?

#18721
From: Alan Stearns
Date: Tue, 25 Feb 2003 23:43
7 lines
929 bytes
You can't change the active tool in a script, but in this case, you don't need to.

What you actually want is to get the parent of item 1 of theSelection:

set theTarget to parent of item 1 of theSelection

Alan
Technical Details
Message-ID: <1de803ec.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de803ec.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,f3eb1f4e74209329
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-02-25 16:07:33 PST
From: "Alan Stearns" <astearns@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!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: Re: How can I change the tool in the UI [AS]?
Message-ID: <1de803ec.0@WebX.la2eafNXanI>
Date: Tue, 25 Feb 2003 15:43:00 -0800
References: <1de803ec.-1@WebX.la2eafNXanI>
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit