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

List processes problem


  • Subject: List processes problem
  • From: steve <email@hidden>
  • Date: Wed, 03 Jan 2001 12:41:16 -0800

Hi list,

I'm having trouble with checking processes with a script that used to work
but no longer does. For the life of me I can't figure out what I'm doing
wrong or if I'm missing an Addition.

Basically, I am using an idle handler to check for all necessary processes.
If they are not there, I want to re-launch it.

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?

Thanks!
--
Steve Kump
New Media Development
BC Newsgroup
34375 Cyril Street
Abbotsford, BC
Canada
(604)870-4520
email@hidden


  • Follow-Ups:
    • Re: List processes problem
      • From: Emmanuel <email@hidden>
    • Re: List processes problem
      • From: Shane Stanley <email@hidden>
    • srvr
      • From: Chad Gray <email@hidden>
    • Re: List processes problem
      • From: Jolly Roger <email@hidden>
  • Prev by Date: Identifying app by creator code??
  • 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