On 16 juil. 2012, at 14:26, Bastien wrote: > Hi Alan, > > Alan Schmitt <alan.schm...@polytechnique.org> writes: > >> Is there a way to tell org-mode to pass the resolution of this link to the >> system? (For instance, if I do a "open >> x-devonthink-item://700A651C-E395-462C-873A-13FC92035FBD" in a terminal >> window, things work as expected.) > > You want to check the "A.3 Adding hyperlink types" section of > the manual: > > http://orgmode.org/manual/Adding-hyperlink-types.html
Thanks a lot, that was most helpful. Here is what I ended up with, if it may help other people: (org-add-link-type "x-devonthink-item" 'org-devonthink-open) (defun org-devonthink-open (link) "Open the devonthink link." (start-process (concat "open " link) nil "open" (concat "x-devonthink-item:" link))) Alan