Re: Capturing username for script that mounts server
Re: Capturing username for script that mounts server
- Subject: Re: Capturing username for script that mounts server
- From: "Marc K. Myers" <email@hidden>
- Date: Thu, 31 Mar 2005 07:48:00 -0500
On Wed, 30 Mar 2005 10:00:42 -0500, Ed Wiederer wrote:
The trick is, I want to distribute this to my coworkers and I want to
make it as easy as possible -- i.e. no need for them to open Script
Editor and type in their user name. So I'm trying to come up with
something that will pop up a dialog box that will capture their user
name.
You could eliminate the dialog box and capture the username on the fly:
set userName to do shell script "whoami"
Marc [3/31/05 7:47:03 AM]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden