Home All Groups Group Topic Archive Search About

Copy selected text and hook into right-click menus

Author
9 Feb 2005 11:11 PM
Bruce Pleat
I am trying to write VBA code that, among other things, copies the text
currently selected by a user (whether in an E-Mail or a notes field of a
task/appointment/contact/etc.).

I want the code to be launchable via an entry on the right-click menu if
possible.

I can't seem to figure out how to get the currently-selected text.

Nor can I figure out how to hook into the right-click menu.

Thoughts?

Author
10 Feb 2005 6:00 AM
Michael Bauer
Hi Bruce,

for the first issue you could use the SafeInspector of Redemption
(www.dimastr.com). The second one isn´t possible.

--
Viele Grüße
Michael Bauer


Show quoteHide quote
"Bruce Pleat" <Bruce Pl***@discussions.microsoft.com> wrote in message
news:BEFA9640-A6CC-4AD6-9DA7-837FFCA1123E@microsoft.com...
> I am trying to write VBA code that, among other things, copies the
text
> currently selected by a user (whether in an E-Mail or a notes field of
a
> task/appointment/contact/etc.).
>
> I want the code to be launchable via an entry on the right-click menu
if
> possible.
>
> I can't seem to figure out how to get the currently-selected text.
>
> Nor can I figure out how to hook into the right-click menu.
>
> Thoughts?
Are all your drivers up to date? click for free checkup

Author
10 Feb 2005 3:17 PM
Bruce Pleat
Hmmm.  I spent a few hours on it but I still can't find the
currently-selected text.  Hate to ask for spoon-feeding but...



Show quoteHide quote
"Michael Bauer" wrote:

> Hi Bruce,
>
> for the first issue you could use the SafeInspector of Redemption
> (www.dimastr.com). The second one isn´t possible.
>
> --
> Viele Grüße
> Michael Bauer
>
>
> "Bruce Pleat" <Bruce Pl***@discussions.microsoft.com> wrote in message
> news:BEFA9640-A6CC-4AD6-9DA7-837FFCA1123E@microsoft.com...
> > I am trying to write VBA code that, among other things, copies the
> text
> > currently selected by a user (whether in an E-Mail or a notes field of
> a
> > task/appointment/contact/etc.).
> >
> > I want the code to be launchable via an entry on the right-click menu
> if
> > possible.
> >
> > I can't seem to figure out how to get the currently-selected text.
> >
> > Nor can I figure out how to hook into the right-click menu.
> >
> > Thoughts?
>
>
Author
10 Feb 2005 3:23 PM
Ken Slovak - [MVP - Outlook]
SafeInspector.SelText

That property might only work if you are using WordMail. In general you
cannot get the selected text in an email when the Outlook editor is being
used.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


Show quoteHide quote
"Bruce Pleat" <BrucePl***@discussions.microsoft.com> wrote in message
news:AF55A553-7F65-4121-83C2-193DA85F3FBA@microsoft.com...
> Hmmm.  I spent a few hours on it but I still can't find the
> currently-selected text.  Hate to ask for spoon-feeding but...

Bookmark and Share