Macworld Forums: Copy paths from Finder selections - Macworld Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Copy paths from Finder selections

#15 User is offline   wasserdr Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 23-May 08

Posted 23 May 2008 - 12:49 PM

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.
0

#16 User is offline   apta Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 17
  • Joined: 23-February 05

Posted 23 May 2008 - 01:09 PM

Wasserdr -
As I noted earlier, check that TextEdit has the preference of plain text as the default format for new documents.
0

#17 User is offline   taa1 Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 16-August 08

Posted 16 August 2008 - 04:12 PM

Web, would you be willing to share the script you walk about? It sounds perfect for what I need to do.
0

#18 User is offline   HotFusionMan Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 12-November 08

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!
0

#19 User is offline   griffman Icon

  • Advanced Member
  • Icon
  • Group: Moderators
  • Posts: 8,605
  • Joined: 09-January 01

Posted 12 November 2008 - 06:59 AM

Paste seems to work here...it doesn't for you?

-rob.

#20 User is offline   HotFusionMan Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 12-November 08

Posted 12 November 2008 - 07:13 AM

Huh, apparently not in all apps. I'll have to log a bug against Komodo Edit. Paste worked in Firefox 3. Thanks!
0

#21 User is offline   MMinOKC Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 29-September 09

Posted 29 September 2009 - 08:23 AM

View PostLink33, 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


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!
0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users