• 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
Kill the screen saver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Kill the screen saver


  • Subject: Kill the screen saver
  • From: "Timothy K. Wilkinson" <email@hidden>
  • Date: Thu, 12 Sep 2002 09:55:13 -0400

I'm in a lab situation using OS X 10.1.5. I need to have machines log out
after a certain period of inactivity. I've got a Perl script running that
checks for the screen saver and if it's active it runs an AppleScript that
logs off the user. Works wonderfully.

Here's the kicker. I'm trying to give users warning that the machine is
about to log off so they can save work using a dialog box. The problem is
when the dialog box comes up the screen saver is still running and the user
can't see it.

I've tried things such as:

tell app "logout"
activate
end tell

tell app "ScreenSaverEngine"
quit
end

but nothing works. I've also tried:

Tell app "Finder"
set app "logout" to frontmost
end tell

no success.

Anyone have any ideas on who to kill the screen saver through AppleScript?

Thanks,


Tim Wilkinson
ITC-ACHS
University of Virginia
email@hidden
email@hidden
_______________________________________________
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: Kill the screen saver
      • From: Gary Beberman <email@hidden>
  • Prev by Date: Re: Saving a property after running a script remotely
  • Next by Date: Re: A disturbing trend
  • Previous by thread: Re: Sorting?
  • Next by thread: Re: Kill the screen saver
  • Index(es):
    • Date
    • Thread