I have been working on a script that will work as a folder action. I want any pdf file placed inside a set folder sent along to a server for processing.
I cannot seem to get it to work though. I have cut and pasted different scripts I have found and came up with this:
on adding folder items to alias “PDF to jpg Crop: Desktop folder: hmcouser: Users of startup disk”
after receiving these_items
repeat with i from count of these_items to 1 by -1
tell application “Finder”
move item i of these_items to folder “Desktop” of disk “Pitstop2
Hotfolders” of startup disk
end tell
end repeat
end adding folder items to
When I try to compile the script it says “Expected End of Line But Found Identifier” It has “these_items” highlighted.
I do not want a list of the items. I just want the script to automatically send any files placed in this folder to the server for processing.
Biff
Model: G5 Tower
AppleScript: 2.0
Browser: Safari 125.8
Operating System: Mac OS X (10.4)