Thread View: adobe.scripting.indesign
4 messages
4 total messages
Started by mnagaraj1983
Mon, 23 Feb 2009 06:57
Getting Windows username using InDesign Javascript
Author: mnagaraj1983
Date: Mon, 23 Feb 2009 06:57
Date: Mon, 23 Feb 2009 06:57
3 lines
685 bytes
685 bytes
Hi all, Any give me the suggestion about to get the username in windows by using the javascript. Here i'm using the InDesign CS3.
Re: Getting Windows username using InDesign Javascript
Author: 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))
Re: Getting Windows username using InDesign Javascript
Author: mnagaraj1983
Date: Mon, 23 Feb 2009 09:37
Date: Mon, 23 Feb 2009 09:37
1 lines
620 bytes
620 bytes
Thanks a lot Kasyan
Re: Getting Windows username using InDesign Javascript
Author: xbytor
Date: Mon, 23 Feb 2009 16:33
Date: Mon, 23 Feb 2009 16:33
6 lines
856 bytes
856 bytes
Kasyan_Servetsky@adobeforums.com wrote:
> $.getenv("USERNAME");
It's $.getenv('USER') in Unix/OSX-land.
-X
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads