On Dec 11, 2010, at 14:53, Robert Krüger wrote: I'm failing to achieve a seemingly simple thing. I want to write files into the clipboard so they can be pasted into Finder. This works well for a single file, using this code:
... However, when I try to put multiple files into the clipboard by the naive approach,
______________________________________________________________________
Hey Robert,
When you copy files in the Finder a little more than just a path string is put into the Clipboard. I don't know offhand how one would go about assembling a record of file specifiers that would allow pasting multiple items in the Finder, however you can create an alias list and move or copy that in the Finder via script (not paste). If you have an automation utility that can run scripts like FastScripts, Keyboard Maestro, iKey, or QuicKeys you can create your own pseudo copy/paste keyboard shortcuts without much effort.
I can't myself see the utility of putting disparate files on the clipboard for pasting somewhere else when this can easily be done via script, and the clipboard also has the (wicked) limitation of only being able to copy and paste (it cannot cut and paste).
With a script you can copy and/or move to your heart's content.
As for searching the archives - yes searching a specific archive has been broken for some time. You can search, but you can't limit the search to the Applescript Users List for instance.
The more recent archives contain a reference to the list, so for instance you could search for:
appleScript-users "system events"
You can also use Google:
"system events" site:http://lists.apple.com/archives/applescript-users
However of these two searches the local search gives "Results 1-10 of 4406" while Google gives "About 681 results".
Please take the trouble to complain. Search has been broken far too long.
|