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

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


  • Follow-Ups:
    • Re: Folder Action Problem
      • From: JollyRoger <email@hidden>
  • Prev by Date: Re: RegEx Commands
  • Next by Date: Re: RegEx Commands
  • Previous by thread: Re: Printing to Distiller from Quark.
  • Next by thread: Re: Folder Action Problem
  • Index(es):
    • Date
    • Thread