From mboxrd@z Thu Jan 1 00:00:00 1970 From: ts Subject: adobe acrobat with org-annotation-helper.el Date: Tue, 27 May 2008 01:34:48 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0oKH-0004ZP-Cn for emacs-orgmode@gnu.org; Mon, 26 May 2008 21:50:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0oKE-0004ZD-S9 for emacs-orgmode@gnu.org; Mon, 26 May 2008 21:50:08 -0400 Received: from [199.232.76.173] (port=35344 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0oKE-0004ZA-Nf for emacs-orgmode@gnu.org; Mon, 26 May 2008 21:50:06 -0400 Received: from main.gmane.org ([80.91.229.2]:52986 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K0oKE-0003l1-As for emacs-orgmode@gnu.org; Mon, 26 May 2008 21:50:06 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1K0oKA-0005hv-Bk for emacs-orgmode@gnu.org; Tue, 27 May 2008 01:50:02 +0000 Received: from pool-70-18-96-59.alb.east.verizon.net ([70.18.96.59]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 May 2008 01:50:02 +0000 Received: from tshort by pool-70-18-96-59.alb.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 May 2008 01:50:02 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I've partially gotten org-annotation-helper to work with adobe acrobat. I've got a lot of pdf's in my files. I'd like to use org-mode to organize notes on them. To that end, I've gotten the org-annotation-helper developed for Firefox semi-working with adobe's reader and acrobat. You can add a menu item in the adobe reader or adobe acrobat using javascript. I added the following as c:/Program Files/Adobe/Acrobat 7.0/Reader/Javascripts/remember.js: app.addMenuItem({cName:"Remember", cParent:"Tools", cExec:"app.launchURL('remember://' + this.URL.replace('|', ':') + '::remember::' + this.info.Title + '::remember::'); "}); This adds a Remember menu item under the Tools menu. It only sends the file name and title. I couldn't figure out how to grab the active selection. It may not be supported in javascript. Unless something turns up, you'll have to copy/paste manually. The .replace('|', ':') bit is to get the window's filename right, so links work right in org-mode. The same approach works for both Reader and Acrobat. This is on windows xp. I imagine it should work in linux or mac. - ts