Folder Action Problem
Folder Action Problem
- Subject: Folder Action Problem
- From: Luis Oliveira <email@hidden>
- Date: Mon, 06 Aug 2001 22:54:55 +0100
Hi applescripters,
I'm having a problem with a folder action that I'm writing for my
newspapper. The folder action is watching for files that are dropped on a
certain folder on a user machine so the code that I'm using uses the handler
on adding folder items to this_folder after receiving added_items
...
end adding folder items to
I want to label the files that are dropped on this folder orange (hot) based
on whether a certain application is running or not on another machine.
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.
Anyone can give me some insight on what could be happenning ?
Happy scripting for all
./ luis oliveira