March 2, 200520 yr I need an applescript to extract the user name from the OSX and place it in a field in a FM file. I think it's the short name that I need. I don't know if there's an equivalent for OS9, but if so, to extract that also would be cool. ...any takers?
March 2, 200520 yr Mac OS 10 tell application "System Events" set theuser to full name of current user end tell -- tell application "FileMaker Pro" set cell "name" of current record of layout "layout" to theuser -- end tell
March 2, 200520 yr Author Thanx a heap! I assume that to get the short name is to substitute 'full name' with 'short name'?
Create an account or sign in to comment