• 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: ? regarding rebooting apps using an applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: ? regarding rebooting apps using an applescript (From: awaw <email@hidden>)
 >Re: ? regarding rebooting apps using an applescript (From: Ramona Rock <email@hidden>)

  • Prev by Date: Re: Getting elements of a list
  • Next by Date: Syntax Question
  • Previous by thread: Re: ? regarding rebooting apps using an applescript
  • Next by thread: Pop Ups in Safari
  • Index(es):
    • Date
    • Thread