Kid Posted September 18, 2008 Share Posted September 18, 2008 hello! can someone can help me how can i capture text from screen or to active window by using the mouse movements "pointer or Cursor" Thank you Link to comment Share on other sites More sharing options...
IKilledBambi Posted September 18, 2008 Share Posted September 18, 2008 It would take QUITE some work and it would take a very long time for it to get a while sentence but, you could make the mouse move to the text and use PixelGetColor ( x , y ) If its the color of the text, move to a different area and see if its the color of the text there. But like I said, this will be a LOT of work, and will probably not be worth it. Link to comment Share on other sites More sharing options...
martin Posted September 18, 2008 Share Posted September 18, 2008 hello! can someone can help me how can i capture text from screen or to active window by using the mouse movements "pointer or Cursor" Thank you You can get text from a window with WinGetText though this might not get what you expect. To find the window under the mouse cursor you canm use the API function WindowFromPoint.You can also simply emulate what you might do manually such as Send("^a") and Send("^c"), or double click and copy using MouseClick("left") MouseClick("left") then Send("^c") Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. 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