patgenn123 Posted June 9, 2008 Share Posted June 9, 2008 I am trying to use the "Autoit Window Info" to see if there is certain >>>visible text<<< on the screen. There is a section called >>>visible text<<< in the "Autoit Window Info" console I am trying to copy to clipboard. How can I create an AutoIT script to copy the >>>visible text<<< area in the "AutoIT Window Info" console to the clipboard automatically? I am very new to programming ANYTHING. I didn't see anything in the forums on this and ANY guidance would be greatly appreciated. -P Link to comment Share on other sites More sharing options...
Dampe Posted June 9, 2008 Share Posted June 9, 2008 Have a look in the help for at the topics on ClipGet So, something like $visibletext = ClipGet() I think that's what your talking about Link to comment Share on other sites More sharing options...
patgenn123 Posted June 9, 2008 Author Share Posted June 9, 2008 Thank you for your answer. Is this the same as Opt("WinTextMatchMode", 1). What is this? I have a database that has "tabs" and when I click on a tab, it shows in the "autoit Window info" under >>visible text<< because it has focus. I want to grab that text(from the tab) from the "AutoIT Window Info" and paste it to the clipboard. Is your code able to grab the text from the screen and paste it? Do I have to parse this? What else do i need to do? -P Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted June 9, 2008 Share Posted June 9, 2008 (edited) You will need something like ControlGetText() for this, check the helpfile it's all there Edited June 9, 2008 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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