• 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: Checking for logged on guests
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking for logged on guests


  • Subject: Re: Checking for logged on guests
  • From: Larry McMunn <email@hidden>
  • Date: Wed, 31 Dec 2003 10:36:25 -0500

Dave,

Thanks for the quick reply:
>
>What about:
>------
>do shell script "who"
>set mylogons to result
>mylogons
>--> djb console Dec 30 13:13
>--> djb ttyp1 Dec 30 13:56
>------

I just came into the office to try it and all I get is the user that logged on to start the machine.

My result is:
do shell script "who"
set mylogins to result
mylogins

-->> scriptse console Dec 22 16:27

"Scriptse" is the Mac running the script and the date displayed is the last boot date.

This is an iMac running 10.3.2 sharing its "Public" folder.
At the time of running the shell script, there was one PowerBook running 10.3.2 and one powerBook running OS9.1 logged onto the shared folder. Neither of these
show up.

--

Happy New Year! :-)

Larry McMunn
President

McMunn Associates, Inc.
Specialists in automated Data Visualization through Apple products
Collingswood, NJ

(856) 858-3440
---------------------------------------------------------------
_______________________________________________
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: Checking for logged on guests
      • From: Craig Sutherland <email@hidden>
    • Re: Checking for logged on guests
      • From: Dave Balderstone <email@hidden>
  • Prev by Date: Re: stereo sound panel thanks Craig !
  • Next by Date: Re: Keystroke
  • Previous by thread: Re: Checking for logged on guests
  • Next by thread: Re: Checking for logged on guests
  • Index(es):
    • Date
    • Thread