🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #334

Re: While closing the document ".exe" (or) a script should be get triggered?

#334
From: xbytor
Date: Sat, 07 Feb 2009 19:08
14 lines
1242 bytes
> Can you post an example for getting the doc's file using arguments?

arguments[0] is the TypeID of the event.
arguments[1] is the ActionDescriptor.

I don't know if there are ever any other arguments. I only recently found out 
about this.

You probably need to look at Save and Close to get some sense of what's going 
on. I can't make any promises about what is actually in the descriptors, but 
this is the only way I know of to get any kind of information at all in this 
situation.

-X
Technical Details
Message-ID: <7A7B99DD036396F382B20EC6B3319374@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7ccea.-1@webcrossing.la2eafNXanI> <59b7ccea.4@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,5c072e6f04fd7471
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: xbytor@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: While closing the document ".exe" (or) a
 script should be get triggered?
Message-ID: <7A7B99DD036396F382B20EC6B3319374@in.webcrossing.la2eafNXanI>
Date: Sat, 7 Feb 2009 11:08:14 -0800
References: <59b7ccea.-1@webcrossing.la2eafNXanI> <59b7ccea.4@webcrossing.la2eafNXanI>
Lines: 18
User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit