• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Capturing username for script that mounts server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Encode URLs for posting help
  • Next by Date: Re: Showing a Package's Contents
  • Previous by thread: Re: Capturing username for script that mounts server
  • Next by thread: Keychain scripting starts Classic
  • Index(es):
    • Date
    • Thread