[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] org-protocol links from adobe reader
From: |
Sebastian Rose |
Subject: |
Re: [Orgmode] org-protocol links from adobe reader |
Date: |
Mon, 11 May 2009 20:28:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
Hi Friedrich,
I was planing to investigate for org-protocol and Acrobat for a long
time now and never got around to make it.
Great stuff!!
I think we should add this to the org-protocol docs on worg. How about
adding it to the org-protocol docs on Worg:
http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3
I wouldn't bother to do it myself, but, as you might have read on the
other thread, code_swarm is better for projects with lots of committers
;-)
Best
Sebastian
Friedrich Delgado Friedrichs <address@hidden> writes:
> Hi.
>
> I've just migrated from org-annotation-helper to org-protocol and I've
> managed to adapt the hints from
> http://article.gmane.org/gmane.emacs.orgmode/6810 to org-protocol.
>
> It's simple, you just change the protocol accordingly, and call
> encodeURIComponent, so you arrive with:
>
> app.addMenuItem({cName:"org-store-link", cParent:"Tools",
> cExec:"app.launchURL('org-protocol://store-link://' +
> encodeURIComponent(this.URL) + '/' +
> encodeURIComponent(this.info.Title));"});
>
> for org-store-link and
>
> app.addMenuItem({cName:"org-remember", cParent:"Tools",
> cExec:"app.launchURL('org-protocol://remember://' +
> encodeURIComponent(this.URL) + '/' +
> encodeURIComponent(this.info.Title) + '/');"});
>
> or org-remember.
>
> Drop these into ~/.adobe/Acrobat/9.0/JavaScripts and you should be
> good to go.
>
> Note that modern emacsen also are able to display pdfs and
> org-store-link will already come up with a valid file:// link, but
> doesn't give you the document title, so this might be convenient, even
> if you prefer to open links to pdf files in emacs.
>
> Kind regards
> FDF