• 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: Using AS to logout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Using AS to logout
      • From: Christopher Nebel <email@hidden>
References: 
 >Using AS to logout (From: "Francois Houle" <email@hidden>)

  • Prev by Date: Re: Help with droplet
  • Next by Date: Re: Dealing with Japanese filenames??
  • Previous by thread: Using AS to logout
  • Next by thread: Re: Using AS to logout
  • Index(es):
    • Date
    • Thread