Skip to Content

Mac 101: Dragging and dropping from the Title bar

Have you ever noticed that teensy icon that appears in some title bars? It's an OS X feature that shows up in many editing applications. You'll see it in TextEdit, iMovie, Preview, Microsoft Office, and so forth. It's called a "proxy icon" and it allows you to drag and drop directly from the title bar. It's just as though you had clicked and dragged on the document icon in the Finder. For example, you can drag from iMovie to iDVD, or from Preview to the command line in Terminal, and so forth.

It works like this: first, you have to save whatever you are working on if you've made any changes. The reason you have to save is that OS X assumes that when you drag and drop, you'll want all the latest information and updates included in your data. Saving makes that happen.

Saving also makes the icon go from a light grey to a dark grey; you can always tell if you've made unsaved changes in these applications because of the icon's color. Go ahead, give it a try in TextEdit. Type some text and then save the file to disk. The icon appears for the first time (in dark grey) once you save your untitled file, and then if you start typing, the icon goes light grey until you save again.

After saving, you can drag the proxy icon to another application and drop it onto either the application icon or into an open application window, or a Finder window. To perform the drag, click on the proxy icon and hold the mouse button down for a second until the icon darkens. Once it goes dark, you can drag it.

The results of dragging the proxy icon are going to vary by source and target application. In most cases the effect should be the same as if you had dragged the Finder icon for the document. For example, if you drag a TextEdit document onto Mail or Eudora, it creates a new letter with your document as an attachment. If you drag onto a Terminal window or into another TextEdit document, you add a bit of text that shows the path to your document, e.g. /Users/ericasadun/Documents/mytesttext.txt. Drag it to Safari and it opens and displays the document in a new window. You can also drag pictures, videos, audio and other file types.

Keep your eyes open and look for the proxy icon in your day-to-day applications.



Categories

Mac 101

Have you ever noticed that teensy icon that appears in some title bars? It's an OS X feature that shows up in many editing applications....
 

Add a Comment

*0 / 3000 Character Maximum Comment Moderation Enabled. Your comment will appear after it is cleared by an editor.

5 Comments

Filter by:
John Brissenden

That is so cool. I've been using Macs for 20 years, but every day I learn something new about how to use them - usually right here on TUAW. As I write, I'm working on a 5000-word assignment, and thanks to this I'm able to speed up collating research material in VoodooPad. Thanks!

May 07 2007 at 10:29 AM Report abuse rate up rate down Reply
Danny

It's worth adding that if you hold down Option (Alt) then the drag will create a copy of the file rather than either moving (e.g. in the Finder) or creating an alias (e.g. in Preview). This behaviour is marked in the usual way (with the green circle with a + inside).

One of my favourite uses of this feature is dragging downloaded PDFs into Photoshop to rasterize and grab images. Of course I could hit F11 and then hunt around for the icon. But my desktop is not always so very tidy. Having the icon available to drag across to the Dock is very smooth.

May 05 2007 at 1:06 AM Report abuse rate up rate down Reply
MurphyMac

Thanks Nick -
One of my first screencasts was about the proxy icon, I didn't even know what it was called at the time. And I used Quicktime and Finder to show how it behaves differently in different apps - but it didn't occur to me that it could be because of Cocoa and Carbon.
http://murphymac.com/slib/finding-your-path.htm
Thanks for shedding some light on this.

May 04 2007 at 4:17 PM Report abuse rate up rate down Reply
Nick

Nice piece. It's worth mentioning that the proxy icon looks different and behaves differently in Carbon applications, such as the Finder:

http://nslog.com/2006/11/11/cocoas_broken_proxy_icons/

May 04 2007 at 3:26 PM Report abuse rate up rate down Reply
effzehn

Always wondered what this icon is good for but never dared to try ;-)

Thanks for the explanation.

May 04 2007 at 3:22 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.