Jump to content


Photo

Linking to a PDF


  • Please log in to reply
3 replies to this topic

#1 William Cross

William Cross

    Silver

  • Active Members
  • PipPipPip
  • 133 posts
  • Gender:Male
  • Location:Richmond, VA
  • Accordance Version:10.x

Posted 05 November 2008 - 12:22 PM

How do I link to a file that has multiple words in its name?
Do I have to go back and change the name of every file taking out the spaces in the name?

#2 Helen Brown

Helen Brown

    Mithril

  • Admin
  • 8,428 posts
  • Gender:Female
  • Location:heart in Israel
  • Accordance Version:11.x

Posted 05 November 2008 - 12:44 PM

Sorry, when you link to an external file Apple does not support spaces in the file name. We will look into a workaround.
Helen Brown
OakTree Software

#3 Mike Garrity

Mike Garrity

    Gold

  • Accordance
  • 321 posts
  • Gender:Male
  • Location:Florida
  • Accordance Version:10.x

Posted 05 November 2008 - 01:38 PM

We are using Apple's Launch Services to open the link. Internally, Accordance will try to convert the user tool link to an URL (Uniform Resource Locator). Accordance will report an error when trying to make a URL to a file with a space in the name. Safari, for example automatically converts the spaces to '%20' and I verified that Accordance supports the '%20' substitution.

So the workaround for now (with 8.1.0) is to use '%20' to identify spaces in User Tool links.

Mike

#4 Lorinda H. M. Hoover

Lorinda H. M. Hoover

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,290 posts
  • Gender:Female
  • Location:Iowa
  • Accordance Version:11.x

Posted 05 November 2008 - 05:45 PM

Back in 2007, Joe Weaks wrote some Applescript solutions for getting the full path of files to the clipboard, including replacing the spaces with %20. There are several versions of it:

-A Quicksilver plug-in with instructions for use here. I think this one actually pastes the url for you.
-A version that invokes a dialog so you can browse to your file This is the one I use most frequently, and I invoke it with a keyboard shortcut set in Butler.
-A droplet version Put it in your dock, drag a file to it, and it will copy the file path to the clipboard

All these scripts are described in this thread on the forums here..

Lorinda

Edited by Lorinda H. M. Hoover, 05 November 2008 - 05:45 PM.

Running Accordance on:
Mac 10.9 (Mavericks)
iOS 7 (iPad)
Windows Vista Home Premium




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users