Re: launch an application, and on quit, logout?
Re: launch an application, and on quit, logout?
- Subject: Re: launch an application, and on quit, logout?
- From: Donald Hall <email@hidden>
- Date: Wed, 24 Jun 2009 18:46:33 -0600
I publish a little application called Script Timer that should do
what you want. It has a background scheduling engine that you arrange
to start up at login, and that monitors for events and times at which
you want to run scripts or applications. Among many other features it
has the ability to run a script when an application you specify
quits. So, you could schedule a script to run when your application
quits that would log you out.
It looks like Philip has provided the script you need.
Details of Script Timer can be found at http://www.appsandmore.com.
Hope that helps,
Don
At 12:00 PM -0700 6/24/09, email@hidden wrote:
I am trying to do something that seems like it should be easy, but I
must not be wording my searches correctly, because what I've mostly
come up with is discussions of how to make a script quit apps and
force a logout.
What I'm trying to do is make an applescript that I can place in a
user's login items. What I'd like that script to do is:
1. Launch an application in the user's home area
2. Wait for that application to quit and when it does
3. Log the user out
Is that possible? If so, does anybody have anything they could share?
------------------------------
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden