This is just weird.
I wrote a script using an “on run” during development with the intent of using it as a folder action script through an “on adding folder items to” once complete. There are a number of if statements using the single line format (if . . . then . . .). They worked find through the on run.
Problem is, when I tried the script as a Folder Action it would quite silently on the single line if statements. Once I changed them to:
if . . . then
. . .
end if
the script ran fine as a folder action.
Is it just me, or is this a known “feature”.
Thanks,
T.