emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jmcbray@carcosa.net (Jason F. McBrayer)
To: Manish <mailtomanish.sharma@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: Opening links to Outlook items from Org mode (may be a FR)
Date: Fri, 22 Aug 2008 14:00:15 -0400	[thread overview]
Message-ID: <m1abf52amo.fsf@bertrand.carcosa.net> (raw)
In-Reply-To: <m1ej4h2h5f.fsf@bertrand.carcosa.net> (Jason F. McBrayer's message of "Fri, 22 Aug 2008 11:39:24 -0400")

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    |

  reply	other threads:[~2008-08-22 17:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21  6:16 Opening links to Outlook items from Org mode (may be a FR) Manish
2008-08-22  7:44 ` Ivan Kanis
2008-08-22 11:49   ` Manish
2008-08-22 19:13     ` Ivan Kanis
2008-08-22 15:13 ` Jason F. McBrayer
2008-08-22 15:39   ` Jason F. McBrayer
2008-08-22 18:00     ` Jason F. McBrayer [this message]
2008-08-22 18:17   ` R. P. Dillon
2008-08-22 19:51     ` Jason F. McBrayer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1abf52amo.fsf@bertrand.carcosa.net \
    --to=jmcbray@carcosa.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailtomanish.sharma@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).