• 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: Applescript to get the User Name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript to get the User Name


  • Subject: Re: Applescript to get the User Name
  • From: Simon Topliss <email@hidden>
  • Date: Tue, 23 Oct 2001 09:29:12 +0100

You don't need to use the File Sharing control panel either. The FileSharing
Commands scripting addition is part of the standard install (OS 9, maybe
earlier systems too). From that use:

owner name

No "tell" involved.

On 23/10/01 6:36 am, "Peter Forsyth" <email@hidden> wrote:

> You don't need Jon's Commands. Under Mac OS 9, you can script the File
> Sharing control panel directly:
>
> -----
> tell application "File Sharing"
> get computer name
> get owner name
> end tell
> -----
>
>> From: email@hidden
>> Reply-To: email@hidden
>> Date: Mon, 22 Oct 2001 22:04:15 -0700 (PDT)
>> To: email@hidden
>> Subject: applescript-users digest, Vol 2 #1226 - 10 msgs
>>
>>> Can anyone give me a snippet of Applescript that will get the user name or
>>> the computer name (as in Filesharing control panel)?
>>
>> Using Jon's Commands, this might get it (I don't have users, and File
>> Sharing is disabled, so I'm not sure if this is what you need or not):
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users


References: 
 >Re: Applescript to get the User Name (From: Peter Forsyth <email@hidden>)

  • Prev by Date: X 10.1 Mount volume syntax: afp version works, but not old version (error type 1) ??
  • Next by Date: StuffIt commands addition and damage to Internet preferences
  • Previous by thread: Re: Applescript to get the User Name
  • Next by thread: Re: Applescript to get the User Name
  • Index(es):
    • Date
    • Thread