Re: ? regarding rebooting apps using an applescript
Re: ? regarding rebooting apps using an applescript
- Subject: Re: ? regarding rebooting apps using an applescript
- From: MB <email@hidden>
- Date: Mon, 21 Apr 2008 00:36:58 +0200
Ramona Rock said:
> I guess I can just quit it periodically and reactivate it no matter
>what, but it would be slightly preferable if I could leave it active if
>it was NOT actually crashed.
I suppose more experienced Entourage scripters can tell you more
specifics, but I would look for always present preknown data in
Entourage that a script would be able to get within a long time frame
and periodically scrap and reset that to a variable. Then test the
variable for containing the preknown data and if so, do nothing, and if
not force quit and restart the app.
One easy way to know if an app is still running is to execute commands
in the Terminal, like "ps -cuax | grep Entourage" and set the results to
a variable and also using the kill command for sucessfully force
quitting the app in question.
_______________________________________________
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