Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Return the short username in AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Return the short username in AppleScript
Authored by: Zilliquister on Oct 11, '11 08:57:14AM

Wouldn't it be easier to just do this instead?

set myname to path to home folder as string
set my_name to third word of (myname)

display dialog "My name is " & my_name



[ Reply to This | # ]