Find current user with in an Applescript
Wednesday, October 29, 2008
I’m in the middle of testing this, but it should work:
set MyName to do shell script "whoami"
I’m in the middle of testing this, but it should work:
set MyName to do shell script "whoami"