From mboxrd@z Thu Jan 1 00:00:00 1970 From: jmcbray@carcosa.net (Jason F. McBrayer) Subject: Re: Opening links to Outlook items from Org mode (may be a FR) Date: Fri, 22 Aug 2008 14:00:15 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWaqg-0003iR-FN for emacs-orgmode@gnu.org; Fri, 22 Aug 2008 13:54:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWaqd-0003bd-KK for emacs-orgmode@gnu.org; Fri, 22 Aug 2008 13:54:56 -0400 Received: from [199.232.76.173] (port=33503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWaqd-0003ag-0U for emacs-orgmode@gnu.org; Fri, 22 Aug 2008 13:54:55 -0400 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.123]:54352) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWaqc-0002H2-NQ for emacs-orgmode@gnu.org; Fri, 22 Aug 2008 13:54:54 -0400 In-Reply-To: (Jason F. McBrayer's message of "Fri, 22 Aug 2008 11:39:24 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Manish Cc: org-mode jmcbray@carcosa.net (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 jmcbray@carcosa.net | | 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 |