Re: Using AS to logout
Re: Using AS to logout
- Subject: Re: Using AS to logout
- From: "Mark J. Reed" <email@hidden>
- Date: Tue, 3 May 2005 18:10:16 -0400
Well, you could always just kill the loginwindow process. I'm
sure there's a better way, but this might do the trick - no guarantees
since I'm away from my Mac at the moment:
do shell script "ps x | awk '(tolower($0) ~ /loginwindow/) {print $1}' | xargs kill"
On 5/3/05, Francois Houle <email@hidden> wrote:
Hi,
I'm looking to
include a
Tell application
"System Events"
log
out
end
tell
staement in a
script... I'd like to know if there is a way to bypass the confirmation dialog
that pops up asking if you real want to logout... Basically so that when i say
logut, it simply does logout without asking anything... Is it even possible in
AS ?
Thanks
Frank
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (
--
Mark J. Reed <
email@hidden>
_______________________________________________
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