Article View: adobe.scripting.indesign
Article #1059Re: Getting Windows username using InDesign Javascript
From: Kasyan_Servetsky
Date: Mon, 23 Feb 2009 08:04
Date: Mon, 23 Feb 2009 08:04
3 lines
714 bytes
714 bytes
$.getenv("USERNAME");
or
var username = ((Folder.temp + "").slice (12,-14))
Technical Details
Message-ID:
<59b8065a.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b8065a.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,7d5fe048cfaaf23e X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Kasyan_Servetsky@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Getting Windows username using InDesign Javascript Message-ID: <59b8065a.0@webcrossing.la2eafNXanI> Date: Mon, 23 Feb 2009 00:04:46 -0800 References: <59b8065a.-1@webcrossing.la2eafNXanI> Lines: 3 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit