• 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: List processes problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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. |
----------------------------------------------------------------------


  • Prev by Date: Re: App Names?
  • Next by Date: Re: App Names?
  • Previous by thread: Re: Identifying app by creator code??
  • Next by thread: Re: List processes problem
  • Index(es):
    • Date
    • Thread