I was hoping I could somehow trace the username from one of the Folder options, but it always traces back as a truncated file path that doesn't include the username portion.
So for example when I use this:
my result is:
The info I need is where that pesky ~ is! Any ideas on how to get it to give me the full path name?
I have tried:
Folder.userData.absoluteURI Folder.userData.path Folder.userData.fullName Folder.userData.parent
All but .parent give me the same "~/AppData/Roaming" result.
.parent just gave me "~/AppData"
.parent.parent gave me "~"
When I went to .parent.parent.parent it gave me "/c/Users"
Is the username property blocked somehow from being returned? Is there a way around that if so?
Tech Specs: Using Windows 7, Illustrator CS5 64-bit
alert(Folder.userData.fsName); // C:\Users\Carlos\AppData\Roaming
YES! That works! Thanks Carlos!!