Re: Folder Action Problem
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