• 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: getting users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting users


  • Subject: Re: getting users
  • From: "Marc K. Myers" <email@hidden>
  • Date: Tue, 13 Jan 2004 05:00:06 -0500

Date: Mon, 12 Jan 2004 16:36:38 -0700
To: email@hidden
From: Martha Espinosa <email@hidden>
Subject: getting users

Is there a way to use applescript to find out who has an account on a
machine...

Is this what you're looking for?

set thePath to "/Users"
set theFldr to POSIX file thePath as text
tell application "Finder"
set userList to name of folders of folder theFldr whose name is not "Shared"
end tell

Marc [01/13/04 4:57:41 AM]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: getting users
      • From: Gnarlodious <email@hidden>
    • Re: getting users
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Help! My Applescript no longer works in Panther
  • Next by Date: Re: Help! My Applescript no longer works in Panther
  • Previous by thread: Re: getting users
  • Next by thread: Re: getting users
  • Index(es):
    • Date
    • Thread