1 #+TITLE: org-mac-link-grabber.el -- Grab links from open Mac applications
2 #+OPTIONS: ^:{} author:nil
5 [[file:index.org][{Back to Worg's contibutions index}]]
9 This code will allow you to grab the current link or selection from
10 an open mac application and insert it as a hyperlink at point in an
13 *** Supported Applications
15 The following applications are currently supported:
21 - Firefox.app with the Vimperator plugin
27 Add the org-mac-link-grabber/lisp directory to your load-path, and
30 : (require 'org-mac-link-grabber)
32 to your .emacs. You may also optionally bind a key to activate the
33 link grabber menu, like this:
35 : (add-hook 'org-mode-hook (lambda ()
36 : (define-key org-mode-map (kbd "C-c g") 'omlg-grab-link)))
40 Activate the grabber by typing *C-c g* (or whatever key you decided
41 to bind, as above), or type *M-x omlg-grab-link RET*. This will give
42 you a menu in the modeline allowing you to select an application.
43 The current selection in that application will be inserted at point
44 as a hyperlink in your org-mode document.
48 You may customize which applications appear in the grab menu by
49 customizing the group /org-mac-link-grabber/. Changes take effect