🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #326

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

#326
From: xbytor
Date: Fri, 06 Feb 2009 15:53
13 lines
1278 bytes
Paul_R@adobeforums.com wrote:
> Just set it up in File - Scripts - Scripts Event Manager
> and select Event 'Close Document'
> You can then trigger an action or a script of your choice.

Note that the document has already been closed. Fortunately, you can access a 
global 'arguments' array which should contain the ActionDescriptor for the Close 
event. The document's filename will be in there. Then you can all your exe or 
script with the info.

There is no way to be notified about a Close until _after_ it has occurred.

-X
Technical Details
Message-ID: <44485EE13871EA347779F07412D2CABD@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7ccea.-1@webcrossing.la2eafNXanI> <59b7ccea.0@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!g2news1.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: <44485EE13871EA347779F07412D2CABD@in.webcrossing.la2eafNXanI>
Date: Fri, 6 Feb 2009 07:53:26 -0800
References: <59b7ccea.-1@webcrossing.la2eafNXanI> <59b7ccea.0@webcrossing.la2eafNXanI>
Lines: 17
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