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

10.6: Paste a file path directly into a Save dialog System 10.6
Snow Leopard only hintA file/folder copied in Finder or a file/folder POSIX path string on the clipboard (such as '~/Documents/file.txt') can be pasted directly into a Save dialog by pressing ⌘V. The dialog will automatically open a Finder-style 'Go to the folder…' dialog and paste the path into it. Pressing enter will go to that location. It doesn't seem to work for Open dialogs, but pressing ⇧⌘G then ⌘V gives the same result.

I discovered this by accident the other day. I'm on 10.6.7, I haven't tried it on other systems.

[crarko adds: I tested this, and it works as described. I did a search and did not find a duplicate, but this seems like something that may have been mentioned before. I tried it on 10.5, and it did not exhibit this behavior.]
    •    
  • Currently 3.67 / 5
  You rated: 3 / 5 (6 votes cast)
 
[6,390 views]  

10.6: Paste a file path directly into a Save dialog | 9 comments | Create New Account
Click here to return to the '10.6: Paste a file path directly into a Save dialog' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Oops
Authored by: MtnBiker on Jul 05, '11 08:01:33AM
Comment deleted. Since you can't read the hint you're responding to, I didn't realize until after posting that I had misunderstood the original hint.
---
Hermosa Beach, CA USA
Edited on Jul 05, '11 08:03:56AM by MtnBiker


[ Reply to This | # ]
10.6: Paste a file path directly into a Save dialog
Authored by: everkleer80 on Jul 05, '11 08:38:17AM

One of my favorite features of OS X is that if you drag a file from the finder onto a File Open dialog, the dialog will jump to that folder and select the file. I think this works in Save dialogs too, but I could be wrong. This may be a bit counter-intuitive for Windows switchers/users, since the same action in Windows would move/copy the file to the currently opened folder in the dialog.



[ Reply to This | # ]
10.6: Paste a file path directly into a Save dialog
Authored by: chocky on Jul 05, '11 12:29:35PM

In addition, you can type a path into the file name field when saving a document. As long as the name portion of the default text is selected (or the name field is blank) typing a "/" or a "~" will bring down the "Go to the folder:" pane where you can type the desired path.



[ Reply to This | # ]
10.6: Paste a file path directly into a Save dialog
Authored by: jaydisc on Jul 05, '11 06:31:41PM

Damn! That's tip-worthy too!



[ Reply to This | # ]
10.6: Paste a file path directly into a Save dialog
Authored by: gmachen on Jul 05, '11 12:49:28PM

10.5.8, too.



[ Reply to This | # ]
10.6: Paste a file path directly into a Save dialog
Authored by: mantrid on Jul 05, '11 04:38:23PM

I don't have Snow Leopard to test, but that sounds really annoying. If I'm copying a Finder item and pasting it into the file name field, I would have thought that the objective would be to paste the name, not the path. Apple behaviors are becoming less and less intuitive, at least it seems that way to me. Does an option- paste or something other modifier give a name paste?



[ Reply to This | # ]
10.6: Paste a file path directly into a Save dialog
Authored by: jaydisc on Jul 05, '11 06:42:18PM

If you highlight the _name_ of the file (as if you were editing it) before you hit Copy, it will behave as you expect, which sounds more proper to me. Copying a file is copying a file. If you want to copy the file name, highlight the file's name (in text) first.



[ Reply to This | # ]
10.6: Paste a file path directly into a Save dialog
Authored by: mantrid on Jul 07, '11 03:58:10PM
Copying a file is copying a file.
Not exactly. When you copy a file in the Finder, you aren't really copying a file. Depending on the type of file, the clipboard contains multiple classes including url (more or less the path), the icon, the file name, etc. What gets pasted depends on the context and is a design choice, and good design choices contribute to intuitiveness and user-friendliness of the GUI as a whole. If you are pasting in a Finder window, sure enough, a copy of the file is created, just as if you had copied the file. Paste into a mail document, you get an attachment. Paste into a plain text file, you get the file name. Paste in the right part of a Get Info window, you paste the icon. Paste into a TextEdit rtf file and if the source file was an image, it follows the url and actually pastes the image! (and if you actually wanted the name rather than the image, Paste and Match Style instead).

So again, when pasting into the NAME field of a Save dialog, why is it more appropriate to paste the path than the name?

[ Reply to This | # ]

10.6: Paste a file path directly into a Save dialog
Authored by: jaydisc on Jul 07, '11 04:14:24PM

I'm aware of the different forms of data stored on the clipboard as well as how the clipboard correctly reacts depending on the context of where you're pasting it.

I'd say that the best possible solution for what clipboard-class to paste would depend on what aspect of the Save dialog has focus. If the destination file's proposed name has focus, I'd agree that just the copied file's name would seem the appropriate context. But if the file/folder hierarchy of the save dialog had focus. I'd then want the path of the copied file to take precedent.

However, in the absence of that differentiation, I'd then place the burden of context on the copied source. Seeing as the user can specifically highlight and copy the text of the filename, whereas there is no ability to highlight and select the path, it seems more flexible (and appropriate) that the path is the default.



[ Reply to This | # ]