🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #25

How can I get currently running script file path in PS CS (8.x)

#25
From: pumpkin
Date: Fri, 27 Mar 2009 11:08
3 lines
861 bytes
Is it possible to retrieve full file name of my script file in Photoshop CS (8.x).

Constructions: ScriptName = $.fileName and try { some_error } catch(e) { ScriptName = e.fileName; } are not works in Photoshop CS
Technical Details
Message-ID: <59b86cfa.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,cf579e6966658d8,start
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: pumpkin@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: How can I get currently running script file path in PS CS (8.x)
Message-ID: <59b86cfa.-1@webcrossing.la2eafNXanI>
Date: Fri, 27 Mar 2009 04:08:05 -0700
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit