Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Quickly get the contents of .webloc or .textClipping files Desktop
Here's is a very simple tip for working with .webloc and .textClipping files. Sometimes I drag some selected text to the desktop to create a clipping that I can forget about until later. When the selected text is an actual URL, the clipping becomes a .webloc file instead of a .textClipping file, of course.

I find that I want to quickly get either the contained URL of the .webloc file or the contents of the .textClipping back onto the Clipboard in a hurry. One quick way to do that is the same way I would get the text path of a normal file to my Clipboard. I just begin dragging the .webloc or .textClipping file to the upper right corner of the screen, and sometime before it gets there, I press Command+Spacebar to activate the Spotlight search field.

When I drag the file into the search field, I drop it in there while the cursor displays a green circle with a white plus sign. If it's a .webloc or a .textClipping, the search field instantly displays its contents, which is already entirely selected in the field. I could press Command+C to copy the text, but because I'm not actually searching, I usually press Command+X to cut the text and leave the Spotlight search field empty and ready for its next use.

[crarko adds: I tested this, and it works as described. You might have to go into System Preferences » Keyboard » Keyboard Shortcuts » Spotlight and turn on the Command+Spacebar shortcut.]
    •    
  • Currently 3.63 / 5
  You rated: 4 / 5 (8 votes cast)
 
[6,017 views]  

Quickly get the contents of .webloc or .textClipping files | 10 comments | Create New Account
Click here to return to the 'Quickly get the contents of .webloc or .textClipping files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Quickly get the contents of .webloc or .textClipping files
Authored by: auntchilada on Jun 02, '11 02:45:51PM

so sick of drag and drop. why the infatuation with mousing? mark my word, when you are 40+, you'll rue the day.



[ Reply to This | # ]
Quickly get the contents of .webloc or .textClipping files
Authored by: llee on Jun 02, '11 07:46:23PM

I feel your pain. I'm 54 (and counting, hopefully!)

You're probably using Apple's default mouse motion acceleration table, which I have never been able to understand or accept. You can set up your own, but your choices are a bit limited. I would try SteerMouse (trial download is very simple, and you can do a complete uninstall in case you want to try again after demo has expired). Play with the settings in the Cursor segment tab, and be patient. Don't be afraid to try extremes. I'm using a Kensington Ci65m and my settings are usually 0.025 or 0.0375 for the top slider (toward the left) and 80 for the bottom slider (toward the right). Kensington makes its own software for this (MouseWorks), but it hasn't been updated in years and isn't compatible with some Macs (my mid-2009 MacBook Pro 17"). And it only works with Kensington mice. You might also get a Logitech mouse and use their software. I'm too old to get fancy with a trackpad, I think, but I'll probably keep trying.



[ Reply to This | # ]
Quickly get the contents of .webloc or .textClipping files
Authored by: frgough on Jun 03, '11 07:26:53AM

Switch to a trackball. Your wrist and arm and shoulder will thank you.



[ Reply to This | # ]
Quickly get the contents of .webloc or .textClipping files
Authored by: osxpounder on Jun 08, '11 02:05:07PM

Very useful hint. Thanks!

I, too, use a trackball and recommend it. I went with Logitech Marble Mouse, because I'm left-handed. It has 2 things I need: it can configure a "Click Lock" button, and it can be used by either hand (and I do switch, sometimes). Click Lock is very good to have.



[ Reply to This | # ]
Quickly get the contents of .webloc or .textClipping files
Authored by: marksch on Jun 03, '11 12:56:49AM

So... you drag a file into the spotlight search field, then copy and paste it? Why don't you just drag it to wherever you want it right-away?

To copy the text of a clipping file, double-click it and press command-C.

I don't understand the practical value of this hint.

Mark

---
Mark

Economy-x-Talk
Have your own custom software created
http://economy-x-talk.com



[ Reply to This | # ]
Quickly get the contents of .webloc or .textClipping files
Authored by: llee on Jun 03, '11 06:42:50AM

The main focus of the hint is getting the URL stored in the .webloc file to the clipboard, but I wanted to also note that the behavior is the same for .textClipping files. It may be the same for others as well. Some text fields don't accept a drag.



[ Reply to This | # ]
Quickly get the contents of .webloc or .textClipping files
Authored by: Bengt77 on Jun 07, '11 07:04:40AM

Extremely useful. Thank you!



[ Reply to This | # ]
Quickly get the contents of .webloc or .textClipping files
Authored by: fud on Jun 08, '11 12:40:01PM

AFAIK .webloc & .textClipping files are not indexed by Spotlight, wish they were. Does anyone know how to have them indexed?



[ Reply to This | # ]
Quickly get the contents of .webloc or .textClipping files
Authored by: er3l on Oct 06, '12 08:13:24PM

there is this;
splook's TextClippingImporter
which has worked a bit better than the similar tool from hetima.
it's been kinda iffy from 10.6 on and just might kill the quickview and preview ikon. ymmv



[ Reply to This | # ]
Quickly get the contents of .webloc or .textClipping files
Authored by: llee on Oct 13, '11 09:09:46AM

This hint still works in Lion, but you can no longer use the same drag method for getting file path info for items other than ".webloc" and ".textClipping" files. Fortunately, you can still select and copy any Finder item's parent path from the "Where" field of "General" info in its "Get Info" window.



[ Reply to This | # ]