[EMAIL PROTECTED] (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                    [EMAIL PROTECTED]  |
| 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    |


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to