This folder action works fine when I add just one item. But if I add more than one it just processes first item only. I want to be able to add multiple items and process sequentially - as watched folder is mounted webdav and different users may add files simultaneously or just drop a bunch on all at once. Can anyone advise me what I need to amend to script to process files sequentially?
do
on adding folder items to this_folder after receiving added_items
try
repeat with EachItem in added_items
set ItemInfo to info for EachItem
tell application "VectorWorks"
activate
open EachItem
tell application "QuicKeys"
play shortcut named "2 Convert to VW Ver2"
end tell
end tell
end repeat
end try
end adding folder items to
Model: G5 PPC
AppleScript: 2.1.2
Browser: Safari 537.36
Operating System: macOS 10.4