Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Network:
Windows 2000 Server
Gregorio
To use Paste command from commandbars the mouse cursor must be properly positioned. If you, say, wish to paste in the body area, the mouse should be there.
Except from invoking WScript.Shell object and using it's Sendkeys method, did you find any native OL procedure to move the mouse?
Usually it is uncertain how many areas there are on the message window (by default there are four: 'to', 'cc', 'subject', and body, but could be others like BCC as well). Though possible, it is a pain to use Sendkeys here.
Any ideas?
>Yuri:
>
>Thank you for you help. I continue my search and found an Article in Microsoft about "How to Use CommandBars in Outlook Solution" Article ID 201095. I try it using the command windows and work perfect to make my paste from the clipboard.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement