Re: Quit App Over Time
Re: Quit App Over Time
- Subject: Re: Quit App Over Time
- From: Neil Laubenthal <email@hidden>
- Date: Fri, 08 Aug 2008 16:14:34 -0400
Sure.
To quit at time x
tell application Whatever to quit.
then execute this script at time x . . . using lingon cron or iCal or
any of probably a dozen other ways.
To exit it after a certain amount of time after launch.
Launch it with a script
tell application whatever to launch
set some_variable to timenow
sleep awhile
get current time
calculate difference between some_variable and current time. when this
gets to the right value
tell application Whatever to quit.
I'm not an applescript expert so I would have to monkey around with
this a bit to get the syntax right . . . but the basic architecture
should work.
Quoting Vance <email@hidden>:
Is there a way to tell an application to shut down after a certain
amount of time, or at a certain time? Thanks
_______________________________________________
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
--
There are only three kinds of stress . . .your basic nuclear stress, cooking
stress, and A$$ho1e stress. The key to relating them is . . . Jello.
neil
_______________________________________________
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