Re: Checking for logged on guests
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.