From: Sebastian Rose <sebastian_rose@gmx.de>
To: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org-protocol links from adobe reader
Date: Mon, 11 May 2009 20:28:38 +0200 [thread overview]
Message-ID: <87my9j5wa1.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <20090511172452.GA31283@taupan.ath.cx> (Friedrich Delgado Friedrichs's message of "Mon, 11 May 2009 19:24:52 +0200")
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 <friedel@nomaden.org> 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
next prev parent reply other threads:[~2009-05-11 18:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-11 17:24 org-protocol links from adobe reader Friedrich Delgado Friedrichs
2009-05-11 18:28 ` Sebastian Rose [this message]
2009-05-11 20:15 ` Friedrich Delgado Friedrichs
2009-05-12 9:13 ` Sebastian Rose
2009-05-12 11:49 ` Friedrich Delgado Friedrichs
2009-05-12 15:35 ` Sebastian Rose
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87my9j5wa1.fsf@kassiopeya.MSHEIMNETZ \
--to=sebastian_rose@gmx.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).