Jump to content

Joaquim

Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Joaquim

  1. 13 minutes ago, deanishe said:

    Can you make a link and check the RTF that it puts on the clipboard with Clipboard Viewer?

     

    Sure thing. Using my example, it gets me:

    <meta charset='utf-8'>
        
        <p class="evertool-paragraph" style="font-size: 14px; color: black; font-family: 'Segoe UI', 'Source Sans Pro', Calibri, Candara, Arial, sans-serif, 'Microsoft JhengHei', sans-serif;"><a href="hook://file/1yUfmPSUz?p=c2NpZWJvL0JpYmxpb3RoZWs=&amp;n=Horn%20%E2%80%93%20Der%20geheime%20Krieg%20(2007).pdf#p=1" style="font-size: 14px; color: #2FA4E7; font-family: 'Segoe UI', 'Source Sans Pro', Calibri, Candara, Arial, sans-serif, 'Microsoft JhengHei', sans-serif;">p. 9</a></p>
    
        <br class="Apple-interchange-newline">

     

    If I paste this to Evernote, it gets me, as expected, this: p. 9

     

    I don't know why the Clipboard Content is HTML, while the output is RTF.

  2. Thanks, @vitor!

     

    1 hour ago, vitor said:

    What’s the tool? There aren’t many to do this conversion; perhaps I can understand the problem from seeing how they do it.

     

    I'm working with EverTool, which unfortunately is a paid app and thus not open source. It is designed for use with Evernote, but you can use it with any rich text editor, as it simply takes data from the clipboard and transforms it to rtf. (There are also other formatting options, too.)

     

    However, I would much prefer a solution via Alfred, as it would integrate better with my workflow. Thus far, I have a workflow that gets the page index and label of the current document in Skim, combines it with the corresponding hook://-Link and outputs it as a markdown-Link (e.g. [p. 9](hook://file/1yUfmPSUz?p=c2NpZWJvL0JpYmxpb3RoZWs=&n=Horn%20%E2%80%93%20Der%20geheime%20Krieg%20(2007).pdf#p=1). With your workflow I'd be able to transform this to rtf and paste it to my note-taking app. This would work much faster than Dan Shefflers applescript, which does a similar thing and inspired me in the first place.

     

  3. Hi vitor,

     

    first of thank you for all your workflows, I'm using many of them on a daily basis!

     

    Unfortunately, I have some trouble with Markdown Transform. I'm working with Hook and Evernote and I would like to use your workflow to transform Hook-Links to rtf in Evernote (example: [pdf](hook://file/1yUfmPSUz?p=c2NpZWJvL0JpYmxpb3RoZWs=&n=Horn%20%E2%80%93%20Der%20geheime%20Krieg%20(2007).pdf#p=182). However, when I invoke your workflow on the selection, it returns "pdf" formatted as a Hyperlink (underlined), but it is not a link and I can't click on it. If I do the same in Apple Mail, it is a link, but I still can't click on it. In TextEdit, however, the workflow works fine. 

     

    I'm on a MacBook Pro with Catalina.

     

    Do you have any idea why that is?

     

    Thanks a lot!

×
×
  • Create New...