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
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