Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 77806

Re: How to get current username with script

$
0
0

I acutaly found a solution on another site. Here is how to get the value on a mac

 

var userNamePath = Folder('~').fsName;

var userName = userNamePath.substr(userNamePath.lastIndexOf('/')+1);

 

Cheers


Viewing all articles
Browse latest Browse all 77806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>