DykstrL Posted March 2, 2005 Posted March 2, 2005 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?
h2o.be Posted March 2, 2005 Posted March 2, 2005 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
DykstrL Posted March 2, 2005 Author Posted March 2, 2005 Thanx a heap! I assume that to get the short name is to substitute 'full name' with 'short name'?
Recommended Posts
This topic is 7204 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now