Copy/Paste in the Finder
Copy/Paste in the Finder
- Subject: Copy/Paste in the Finder
- From: Alex Ivanov <email@hidden>
- Date: Wed, 17 Nov 2010 11:04:52 -0800 (PST)
I manually select let's say 20 files in Finder and then I right click
on the files and select "copy". Now those 20 files are placed in the
clipboard.
What I want to do with apple script is "Paste" these files to a specific folder.
What I've done so far is a script that pastes a single file from clipboard:
tell application "Finder"
set destination_folder to POSIX file "/Users/me/myfolder"
copy file (the clipboard) to folder destination_folder
end tell
I get an error if in the clipboard is more than one file, but works ok for a single file.
How can I extend this script to paste more files from clipboard? I want
also to do this in a single operation so that Finder won't open 20 copy
progress dialogs.
Many thanks,
Alex
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden