It did not work for me, maybe because I am using OS X 10.4.11. I did the routine with keyboard short cuts,nothing happened.
I must have missed an action somewhere.
Copy paths from Finder selections
#18
Posted 12 November 2008 - 06:50 AM
Great stuff! Now what I want is to be able to paste into the "Go to the folder" subdialog that you can get to by typing ~ or / in the Search box of standard open/save dialogs (or by pressing command-shift-G in these dialogs). Having tab-completion of path elements in this subdialog is great, but if I already have my entire desired path on the clipboard, I want to be able to just paste it in!
#21
Posted 29 September 2009 - 08:23 AM
Link33, on 13 May 2008 - 05:55 AM, said:
I use the AppleScript code to do this a lot. I also have a version that puts "file://" in front of the path for a hyperlink. I can put that into an email message and share file locations that are clickable. Or have iCal launch a script/document.
AppleScript code change:
set the clipboard to "file://localhost" & POSIX path of sel
Since I have the script menu active I just choose it from that menu and run it that way. I tried using the keyboard shortcut but it doesn't seem to include the Script Menu for valid menu items.
Cheers,
Link33
AppleScript code change:
set the clipboard to "file://localhost" & POSIX path of sel
Since I have the script menu active I just choose it from that menu and run it that way. I tried using the keyboard shortcut but it doesn't seem to include the Script Menu for valid menu items.
Cheers,
Link33
I successfully ran this version of the code, but the resulting link couldn't handle directory names with spaces. For example, this path:
Volumes/Shared Files/Departments/...
came out as:
Volumes/Shared Files/Departments/
In other words, the hyperlink stopped after "Shared", and the rest of the path was plain text.
Is there a modification to the code that will properly handle filepaths with spaces?
Thanks!



Sign In
Register
Help

MultiQuote