OS10.3.3 to OS9


Ihave some problems with this little script…
It´s only running with OSX, but not under OS9.

Whats wrong with it?

property in_folder:“HD_MACOSX:Applescript:PDF_Converter:In”

on adding folder items to this_folder
tell application “Acrobat Distiller 6.0.1”
end tell
end adding folder items to

That’s quite a revelation! The advertised syntax for that sort of folder action is:

on adding folder items to this_folder after receiving added_items

… but it seems that the ‘after receiving’ parameter is optional. Something new learned. :slight_smile:

Other than that, I can’t see anything wrong with your script. Folder actions only work in Mac OS 9 if the folders are open, though. Might that be the problem in your case?

thx or your answer, that was the problem.

The Distiller now starts and then he deletes my attached script to te folder…