Re: "tell" to a running process
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.