• 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: Folder Action Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Folder Action Problem


  • Subject: Re: Folder Action Problem
  • From: JollyRoger <email@hidden>
  • Date: Mon, 06 Aug 2001 22:07:11 -0500

On 8/6/2001 4:54 PM, "Luis Oliveira" <email@hidden> wrote:

> Everytime that I put inside the the handler code this fragment
>
> tell application "Finder" of machine "Impressor" of zone "Producao"
> set appsRunning to all processes -- this is from Akua Sweets
> if appsRunning contains "Impressor 1.0.1.app" then
> set theLabel to 1
> else
> set theLabel to 0
> end if
> end tell
>
> It errors with a -2753 error, but if you run this piece of code separately
> it runs well.

You don't need the Finder tell block if you are using Akua Sweets to get the
process list. Try it without Akua Sweets:

tell application "Finder" of machine "Impressor" of zone "Producao"
set nameList to the name of every process
if nameList contains "Impressor 1.0.1.app" then
set theLabel to 1
else
set theLabel to 0
end if
end tell


References: 
 >Folder Action Problem (From: Luis Oliveira <email@hidden>)

  • Prev by Date: Re: "Path to" a file
  • Next by Date: Re: "Path to" a file
  • Previous by thread: Folder Action Problem
  • Next by thread: Re: Folder Action problem
  • Index(es):
    • Date
    • Thread