1 #+TITLE: org-mac-link.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:
22 - Firefox.app with the Vimperator plugin
28 Customize the org group by typing =M-x customize-group RET org RET=, then
29 expand the /Modules/ section, and enable =mac-link=.
31 You may also optionally bind a key to activate the link grabber menu, like
34 : (add-hook 'org-mode-hook (lambda ()
35 : (define-key org-mode-map (kbd "C-c g") 'org-mac-grab-link)))
39 Activate the grabber by typing =C-c g= (or whatever key you decided to bind,
40 as above), or type =M-x org-mac-grab-link RET=. This will give you a menu in
41 the modeline allowing you to select an application. The current selection in
42 that application will be inserted at point as a hyperlink in your org-mode
47 You may customize which applications appear in the grab menu by customizing
48 the group /org-mac-link/. Changes take effect immediately. If you are using
49 the org-mode version >=8.2, you can also customize whether the
50 =org-mac-link= should highlight the selected text when grabbing the link from