• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Writing multiple files to clipboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing multiple files to clipboard


  • Subject: Re: Writing multiple files to clipboard
  • From: Christopher Stone <email@hidden>
  • Date: Sun, 12 Dec 2010 07:02:27 -0600

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.

http://search.lists.apple.com/

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.

--
Best Regards,
Chris
 _______________________________________________
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

References: 
 >Writing multiple files to clipboard (From: Robert Krüger <email@hidden>)

  • Prev by Date: Re: Writing multiple files to clipboard
  • Next by Date: Re: Writing multiple files to clipboard
  • Previous by thread: Re: Writing multiple files to clipboard
  • Next by thread: Word stops responding
  • Index(es):
    • Date
    • Thread