Jump to content
Sign in to follow this  
ne0trace

Readout a value from a program...

Recommended Posts

ne0trace

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. :P

Does anyone have an example of some readout example?

Felix

Edited by ne0trace

Share this post


Link to post
Share on other sites
ne0trace

Hmm that looks like it's worth trying... :)

How could I miss this?

Edit: Yupp worx... Thank you

Felix

Edited by ne0trace

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.