Ram Posted March 27, 2007 Share Posted March 27, 2007 (edited) Hi, I want to get values and compare them but these values are on a tooltip. I have a column in an application. When I mouse over the column heading I get a tooltip with different values. Now I would like collect those values and assign it to a varriable so that it would be easier for me to compare. Getting the value from the tooltip is a problem. Attached picture for your reference. Can we get the tooltip value? Is this possible? Thanks! PS: I posted the same in another SubForum: http://www.autoitscript.com/forum/index.php?showtopic=43273 - can somebody delete this for me.. Thanks! Edited March 27, 2007 by Ram Link to comment Share on other sites More sharing options...
Bert Posted March 27, 2007 Share Posted March 27, 2007 what happens when you use the window info tool to see what the id of the control is? That may get what you need. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Ram Posted March 27, 2007 Author Share Posted March 27, 2007 (edited) what happens when you use the window info tool to see what the id of the control is? That may get what you need.Nope.. I couldn't get anything important..This is what I get when I mouse over the column.Press CTRL-ALT-F to freeze the display.>>>>>>>>>>>> Window Details <<<<<<<<<<<<<Title: Contact - Peter ThomasClass: ContactPlatformSize: X: 520 Y: 52 W: 1069 H: 776>>>>>>>>>>> Mouse Details <<<<<<<<<<<Screen: X: 868 Y: 522Cursor ID: 2>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<RGB: Hex: 0x000000 Dec: 0>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<Size: X: 181 Y: 395 W: 871 H: 299Control ID: ClassNameNN: AfxOleControl701Text: GridXStyle: 0x52300000ExStyle: 0x00000004>>>>>>>>>>> Status Bar Text <<<<<<<<<<<(1): Ready(2): >>>>>>>>>>> Visible Window Text <<<<<<<<<<<Add or Find a ContactFolderGridXReady>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<Go to Contact Edited March 27, 2007 by Ram Link to comment Share on other sites More sharing options...
PaulIA Posted March 27, 2007 Share Posted March 27, 2007 Hi, I want to get values and compare them but these values are on a tooltip. I have a column in an application. When I mouse over the column heading I get a tooltip with different values. Now I would like collect those values and assign it to a varriable so that it would be easier for me to compare. Getting the value from the tooltip is a problem. Attached picture for your reference. Can we get the tooltip value? Is this possible? Thanks! PS: I posted the same in another SubForum: http://www.autoitscript.com/forum/index.php?showtopic=43273 - can somebody delete this for me.. Thanks! Take a look at the ToolTip module in Auto3Lib. It allows you to read the ToolTips in external processes. It has a demo that captures the ToolTips in Explorer when you place the mouse over the items. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
Ram Posted March 29, 2007 Author Share Posted March 29, 2007 Take a look at the ToolTip module in Auto3Lib. It allows you to read the ToolTips in external processes. It has a demo that captures the ToolTips in Explorer when you place the mouse over the items.Thanks PaulIA...I compiled the demo script and hovered the mouse to the column all I got in the text: field is the title of the application and not the tooltip.. and the help doesn't seem to work. there is a function called _ToolTip_GetText I'm not sure how to use this???It would be great if you could help me out with this function..Thanks! Link to comment Share on other sites More sharing options...
PaulIA Posted March 29, 2007 Share Posted March 29, 2007 Thanks PaulIA...I compiled the demo script and hovered the mouse to the column all I got in the text: field is the title of the application and not the tooltip.. and the help doesn't seem to work. there is a function called _ToolTip_GetText I'm not sure how to use this???It would be great if you could help me out with this function..Thanks!Copy the contents of the Include folder to the AutoIt Include folder. Copy the help file to the AutoIt directory. Read the demo. It says that you need to run the demo in SciTE in order to see the results. If you have any other Auto3Lib questions, please post them in the Auto3Lib thread in the Examples forum as I don't regularly scan the other forums for Auto3Lib support. Auto3Lib: A library of over 1200 functions for AutoIt 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