Saturday, July 4, 2009
Subscribe to Email Digest
 
ScriptBuilders
Craig Williams [staff] ScriptBuilders | Upload your Scripts!
Home >> ScriptBuilders >> Utilities >> Get Full User Name 2.0
Script Info Page
Get Full User Name 2.0 2.0 Script Rating
Freeware | Version: 2.0 | Script id: 5116
Author: Sam Griffith, Jr. | Developer's Web Site
Scripting Additions Required?: None
Requirements: OS X 10.5
Script Type: Editable
Category: Utilities
Click here to View Screenshot
This is an update that works now on Leopard. Also includes some functions for trimming white space from beginning or end of the returned values. To run the script double click on the icon or open it up in Script Editor.
Release Notes: Works on Leopard now
This Version: 112 | All Previous Versions: 78 Show More files from this Author?
Reviews: [Add Your Review]
On 4.23.2008 Sam Griffith Jr. wrote: Rating of Sam Griffith Jr. for this script
Stefan,

You are right, your script to do:

set user_full_name to long user name of (system info)

I hadn't ever used system info before and when I originally wrote the script I don't know whether that was even there. I can change the script now to use that and will and resubmit. But you hopefully found the string trimming functions useful.

Sam
On 3.25.2008 StefanK wrote: Rating of StefanK for this script
nice script, but isn't it the same as

set user_full_name long user name of (system info)
(works in Tiger and Leopard)

or

set user_short_name to system attribute "USER"
set user_full_name to (do shell script "finger " & user_short_name & " | grep Login | colrm 1 46")

?
Generated in 0.196 secs | Total entries: 1933 | Views: 3316100