Re: Script not quitting Entourage
Re: Script not quitting Entourage
- Subject: Re: Script not quitting Entourage
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 23 Dec 2000 14:50:54 -0800
On 12/23/00 2:40 PM, "Peter Fine" <email@hidden> wrote:
>
on 12/23/00 2:18 PM, Ken Dobson at email@hidden wrote:
>
>
> The "Processes" osax is from Late Night Software, I can't recall if I
>
> downloaded it direct or if it installed with their Script Debugger demo. It
>
> does simplify the job though.
>
>
That OSAX and a number of others was part of the Script Debugger 1.x
>
package. And some of them were available for download from the Web site. As
>
of Script Debugger 2, however, support for these was withdrawn and AFAIK
>
they are no longer available from Late Night Software. I don't know whether
>
Marl objects to others distributing them. Obviously his permission would be
>
required since he holds the copyright.
>
Or simply use the 'all processes' command from the free Akua Sweets osax
which does the same thing and - in typical Akua style adds a few useful
parameters:
all processes : Check for a running process by name or creator - or get a
list of all processes.
all processes
[named string] -- Filter processes with this name.
[whose creators are string] -- Four letter creator
[background only boolean] -- Include background (default is TRUE).
Specify TRUE to get only background apps.
[pending notifications boolean] -- Only return process with a
notification pending.
[as type class] -- The kind of result you want. You can use string
(names of apps), integer (process numbers), file (paths to the apps),
aliases (ditto), applications or Process Infos.
[currency boolean] -- Just return the current process.
Result : a list of string -- A list of processes that match your
criteria.
So in this script, you could use simply
item 1 of all processes named "WhateverItWas"
without even doing a repeat loop.
--
Paul Berkowitz