🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.illustrator.featurerequests
Article #131

Re: Swap stacking order

#131
From: James_Talmage
Date: Thu, 12 Mar 2009 22:10
21 lines
2258 bytes

      I wish I knew applescript or javascript because I assume it would be simple
      to code.




Well, if you really wish you knew Javascript, this would be an excellent first attempt, because it would be relatively easy.

If you care to, you could even use the script named JET_StackTopToBottom.jsx, downloadable from here <http://www.illustrationetc.com/AI_Javascripts/TransformScripts.htm> as a starting point.

That script stacks items top-to-bottom, based upon their Y (vertical) positions on the page. I wrote it to address a chronic problem with text objects on imported CAD files.

But I am yet to see the actual value of the stated purpose in this thread, creating a clipping mask. Illustrator's built-in treatment for invoking scripts is far from convenient, and has been a complaint of mine since I started scripting AI. Going to the File menu, waiting for the Scripts submenu to appear, then selecting the desired script among the others there is tedious beyond words for something the whole purpose of which is to perform a quick and simple transformation.

So I really wouldn't expect that to be quicker or more convenient than simply selecting the object you intend to use as the clipping mask and typing "Ctrl-]" (bring to front). If that object is the rearmost, and is completely obscured, right-click and choose Select>LastObjectBelow (another too-tediously implemented feature).

You are supposed to be able to call a script by including it in an Action. That would be ideal for quick access script calls. But that is prevented by a bug which has existed (and been much complained about) for four versions now.

JET
Technical Details
Message-ID: <59b82fbf.4@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b82fbf.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1108e1,c34839c43907ee69
X-Google-Attributes: gid1108e1,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: James_Talmage@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.illustrator.featurerequests
Subject: Re: Swap stacking order
Message-ID: <59b82fbf.4@webcrossing.la2eafNXanI>
Date: Thu, 12 Mar 2009 15:10:23 -0700
References: <59b82fbf.-1@webcrossing.la2eafNXanI>
Lines: 34
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit