• 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: "tell" to a running process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "tell" to a running process


  • Subject: Re: "tell" to a running process
  • From: Steven Angier <email@hidden>
  • Date: Fri, 15 Mar 2002 10:24:02 +1100
  • Organization: Macscript.com

Giuliano Gavazzi wrote:

> I am looking for a way to target a running copy of an application,
> specified by its signature. I have to lookup the process as there are
> in principle many copies of the application on disk, of which at most
> one can be running at any one time.
>

[snip]

> Is there a better an universal method?

The Macscript.com Library contains 20 process functions which work under both the classic
Mac OS and Mac OS X. I wrote these functions to make our solutions completely portable and
we use them on a daily basis in our clients' projects. Each of the functions can take a
file (alias, file spec, or path string), a name, or a creator type:

ActivateApp()
ActivateProcess()
DeactivateProcess()
DoesAppExist()
GetAppCreator()
GetAppFile()
GetAppName()
GetAppRecord()
GetProcessCreator()
GetProcessFile()
GetProcessName()
HideProcess()
InitAppRecord()
IsProcessHidden()
IsProcessInFront()
IsProcessRunning()
LaunchApp()
QuitApp()
QuitProcess()
UnhideProcess()

A demo of the library is available from our website: <http://www.macscript.com>.

Steven Angier
Macscript.com
_______________________________________________
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.

  • Follow-Ups:
    • Re: "tell" to a running process
      • From: Giuliano Gavazzi <email@hidden>
References: 
 >"tell" to a running process (From: Giuliano Gavazzi <email@hidden>)

  • Prev by Date: "Newt On" project
  • Next by Date: Re: Crunch numbers
  • Previous by thread: "tell" to a running process
  • Next by thread: Re: "tell" to a running process
  • Index(es):
    • Date
    • Thread