cmod Posted April 19, 2007 Share Posted April 19, 2007 (edited) Hello,I am wondering if you can help me please. I would like to create a script to copy some text and paste it into an input box in an Outlook Toolbar. It is called Alca 772Using AutoIT, I am able to copy the text, see if Outlook is open and then WinActivate it.However I cannot figure out how to activate/focus the toolbar and to select the specfic button (input box) to paste into.Using the Window Spy, I select the toolbar in question and I get the following details:>>>>>>>>>>>>( Window Title )<<<<<<<<<<<<<Inbox - Microsoft Outlook( classname=rctrl_renwnd32 )>>>>>>>>>>>( Mouse Position )<<<<<<<<<<<<On Desktop: x: 227 y: 69In Window: x: 231 y: 73>>>>>>>>>>>>>( Pixel Color Under Mouse)<<<<<<<<<<<<<Dec: 16053750 Hex: 0xF4F5F6>>>>>>>>>>>( Window Position )<<<<<<<<<<<left: -4 top: -4 width: 1288 height: 954>>>>>>>>( Last Control Under Mouse )<<<<<<<Class: MsoCommandBar1 Text: Alca 772>>>>>>>>>( Status Bar Text )<<<<<<<<(1): 17 Items(2): (3): >>>>>>>>>>>( Visible Window Text )<<<<<<<<<MsoDockTopAlca 772Menu BarType a question for helpWunderBarNUIDocumentWindow17 ItemsAttachmentsMessageMessage>>>>>>>>>>( Hidden Window Text )<<<<<<<<<MsoDockLeftMsoDockRightMsoDockBottomCc:DAL=onI have selected the toolbar with the mouse and I believe it is called Class: MsoCommandBar1, Text: Alcatel OmniTouch Unified Communication - 1 under the Last Control Under Mouse details.Also, when I place the mouse into the textbox, I get:>>>>>>>>( Last Control Under Mouse )<<<<<<<Class: RichEdit20W3 Text: (Note that sometimes it is RichEdit20W1 or RichEdit20W2)Thank you in advance for any suggestions you may have. Edited April 19, 2007 by cmod Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now