Re: List processes problem
Re: List processes problem
- Subject: Re: List processes problem
- From: Michelle Steiner <email@hidden>
- Date: Wed, 3 Jan 2001 13:18:42 -0800
On 1/3/01 12:41 PM, steve <email@hidden> wrote
>
Here's what I used before:
>
>
on idle
>
tell application "Finder"
>
set running_apps to processes as list
>
if running_apps does not contain "FileMaker Pro" or does not contain
>
"StuffIt Deluxe" then
>
tell application "restart script"
>
activate
>
end tell
>
end if
>
return 30
>
end idle
>
>
I have tried to switch this to
>
>
if running_apps contains process "FileMaker Pro" then
>
>
but I still get an error. What am I doing wrong?
how about this line?
if (running_apps does not contain "fileMaker Pro") or (running_apps does
not contain "Stuffit Deluxe") then
If that does not fix the problem, did you rename either of the
applications? I notice that "Stuffit Deluxe" has a control-a appended to
the file name; could that be the cause of the problem?
BTW, what error are you encountering?
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------