ne0trace Posted January 10, 2008 Share Posted January 10, 2008 (edited) Hello, I am trying to get a value from a program. I managed to even mark the value I need through Autoit script but I don't want to use copy&paste because other programs might also be using it. I feel like a complete fool for not finding it out by myself. #cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.10.0 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here Dim $Value Run ( "program.exe" ) WinWaitActive ( "program" ) ControlClick ( "program" , "", "Button4") ControlFocus ( "program", "", "Edit3" ) ControlClick ( "program", "", "Edit3","", 2 ) By now the program already offered the value but i cannot get it. I feel like having a cookie and beeing unable to get it in my mouth. Does anyone have an example of some readout example? Felix Edited January 10, 2008 by ne0trace Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 10, 2008 Share Posted January 10, 2008 Did you try ControlGetText("program", "", "Edit3")? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
ne0trace Posted January 11, 2008 Author Share Posted January 11, 2008 (edited) Hmm that looks like it's worth trying... How could I miss this? Edit: Yupp worx... Thank you Felix Edited January 11, 2008 by ne0trace 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