emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Opening links to Outlook items from Org mode (may be a FR)


From: Jason F. McBrayer
Subject: Re: [Orgmode] Opening links to Outlook items from Org mode (may be a FR)
Date: Fri, 22 Aug 2008 14:00:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

address@hidden (Jason F. McBrayer) writes:

> Note: there is a better way of getting the GUID here:  doesn't require
> you to install an extra program, just add a macro to your Outlook
> settings:
>
> http://mutable.net/blog/archive/2006/09/02/how_to_hyperlink_to_microsoft_outlook_messages.aspx
>
> Now I just need to teach org-mode how to use w32-shell-execute to follow
> those links...

Right (trivial):

(defun org-open-outlook-url (uid)
  "Open an outlook format url"
  (interactive "sGUID: ")
  (w32-shell-execute nil (format "Outlook:%s" uid)))
(org-add-link-type "Outlook" 'org-open-outlook-url)

I've now got a little toolbar icon now in Outlook that will copy a link
which I can yank right into org, and org is capable of following it.
Very trivial modification of the macro above to get it to output
fully-formatted org-mode links.

-- 
+-----------------------------------------------------------+
| Jason F. McBrayer                    address@hidden  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada    |




reply via email to

[Prev in Thread] Current Thread [Next in Thread]