• 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: getting application running information.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting application running information.


  • Subject: Re: getting application running information.
  • From: Steven Angier <email@hidden>
  • Date: Fri, 24 May 2002 21:12:19 +1000

The Macscript.com Library has 20 specifically for managing application
processes. Among them is IsProcessRunning(), which takes a file (path
string, alias or file spec), a creator type, or a name. The function just
"figures it out".

Examples:

IsProcessRunning("ttxt")
IsProcessRunning("Macintosh HD:Applications:SimpleText")
IsProcessRunning("SimpleText")

Similarly, the Library contains functions for determining other things, such
as IsProcessHidden(), IsProcessInFront() and DoesAppExist().

A 30-day free demo is available at <http://www.macscript.com>

Steven Angier
Macscript.com



On 24/5/02 5:30 PM, "ben" <email@hidden> wrote:

> Hi$
>
> How can I check if a specific application is running? I only want to execute
> a given function of my script if that application is running either in the
> background or the foreground. How am I to go on about this?
>
> Ben
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >getting application running information. (From: ben <email@hidden>)

  • Prev by Date: Re: Beginner here
  • Next by Date: Re: Checking whether a website has loaded completely
  • Previous by thread: Re: getting application running information.
  • Next by thread: Why does scripting Xpress have to be such a pain...
  • Index(es):
    • Date
    • Thread