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

Drag Mail.app attachments to certain Open dialogs Apps
A client of mine recently emailed me a JPEG destined for a web site, because she was having trouble using the file upload feature on a web form I created.

Rather than telling Mail to save the attachment, then switching to Safari to choose the file to open, I just dragged the attached image directly from the Mail message window to Safari's File: Open dialogue window. This then uses the path /private -> var -> tmp -> folders.501 -> TemporaryItems -> com.apple.mail.drag for the source, and you'll see the attachment(s) you were dragging in the dialog box.

[robg adds: This should work with Open dialog boxes in any Cocoa application. I'm not sure about Carbon or Java in general; I tried it with Word and BBedit (Carbon) and jEdit (Java), and it didn't work in any of them, so this may be a Cocoa-only feature.]
    •    
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[5,714 views]  

Drag Mail.app attachments to certain Open dialogs | 3 comments | Create New Account
Click here to return to the 'Drag Mail.app attachments to certain Open dialogs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Drag Mail.app attachments to certain Open dialogs
Authored by: lithoman on Nov 07, '05 07:18:13AM

to open Mail attachments in Safari just drag the item from the Mail window to the Safari icon in the Dock or Desktop.



[ Reply to This | # ]
Drag Mail.app attachments to certain Open dialogs
Authored by: robg on Nov 07, '05 08:30:13AM

Yea, we've run a hint like that before ... this one's more generic in that you can drag to open dialogs from Mail directly; quite interseting to see a 'tmp' drag entry...

-rob.



[ Reply to This | # ]
Drag Mail.app attachments to certain Open dialogs
Authored by: jacobolus on Nov 07, '05 02:10:29PM

Why not just drag it onto the main safari window. Opening an open dialog is unnecessary (though I guess it's nice that drag and drop works there too)



[ Reply to This | # ]