- the path to a shared folder (in colon delimited form) will be SharedVolumeName:Workflows:Sheetfed:. SharedVolumeName will be the name of the mounted volume as it appears on the desktop, but you don't want to specify the path to the desktop, just start with the volume.
- the move command takes a folder object for its 'to' parameter, so if you're using a string path you'll want to say "move added_items to folder destFolder"
I have this:
set destFolder to (":dx1070:Workflows:Sheetfed:")
on adding folder items to this_folder after receiving added_items
tell application "Finder"
move added_items to folder destFolder
end adding folder items to
But still not doing it yet.
Took off the leading colon on destFolder ie ":dx1070:Workflows:Sheetfed:", still no.
Any more help would be great!
interesting. taking off the leading colon is the correct move, and that should have worked. are you seeing any errors in Console.app? the only two possible errors I can think of are (1) that the Finder doesn't like the file format folder actions is sending to it, or (2) you've messed up destination path. both of those would show in console, though.
well, I don't have a Windows share that I can test; best I can do is set up a windows-formatted disk image and test that, and that seems to work fine. You might try changing the syntax. In the Finder you can say:
move added_items to folder "Sheetfed" of folder "Workflows" of disk "dx1070"
as long as the disk is mounted that should work. otherwise you're going to have to start debugging with display dialog commands and/or try blocks (remember that from Folder Actions you may need to put display dialog commands inside a Finder or System Events tell block - I don't think you can display a dialog straight from applescript in a folder action).