Re: Where is the Missing Link?
Re: Where is the Missing Link?
- Subject: Re: Where is the Missing Link?
- From: Jon Pugh <email@hidden>
- Date: Sat, 29 Sep 2001 11:22:16 -0700
At 10:15 PM +0200 9/25/2001, Lourens Smak wrote:
>
I've seen many times people don't realize that cmd-c with files selected
>
copies the filenames to the clipboard:
Better than that, it copies an object specifier to the clipboard too.
The script editors have a Paste Reference command which puts this object specifier into the script window. Very handy for referring to specific files and folders.
I've also written a script which uses this to implement a Copy/Paste of files notion. Here's the Paste File script:
set ci to clipboard info
set t to {}
repeat with i in items of ci
if item 1 of i is reference then
set t to the clipboard as reference
exit repeat
else if item 1 of i is list then
set t to the clipboard as list
exit repeat
end if
end repeat
tell application "Finder"
ignoring application responses
duplicate t to selection
end ignoring
end tell
Hey, no long lines OR special characters. Check it out.
Jon