I have a folder A (source folder) that contains 100+ files. I need to copy certain files from folder A to folder B (target folder) but I don’t know which files to copy until the script runs. The aliases of the files I need to copy from A to B will be contained in folder C. The aliases, not the files themselves.
My question is, how do I get the proper contents into SourceFolder (see applescript statement below) so that the duplicate statement works ? If I reference the alias, it simply duplicates the alias itself to the TargetFolder. I tried getting the properties of the alias file and then getting “original item” of the properties, but I get a syntax error when I try to do that.
duplicate item i of SourceFolder to TargetFolder with replacing
Thanks for your help
Model: iMac
AppleScript: Latest
Browser: Safari 533.19.4
Operating System: Mac OS X (10.6)