Sign in to follow this  
Followers 0
EddCase

ControlGetText Help

2 posts in this topic

#1 ·  Posted (edited)

I'm trying to get the value from a button and when it does then perform a mouse click

CODE
Do

$Var = ControlGetText("Extracting Audio Data", "", "811")

Sleep(3000)

Until $var = "OK"

MouseClick ( "right" ,202,152)

which just seems to run endlessly without so much as a mouse move

so i tried this to see what was being reported and i get an empty message box

CODE
$Var =ControlGetText ("Extracting Audio Data", "", "811")

MsgBox(0, "Value of $Var is:", $Var)

this is comming from

>>>> Window <<<<

Title: Extracting Audio Data

Class: #32770

Position: 6, 63

Size: 366, 497

Style: 0x94CA00C4

ExStyle: 0x00010101

Handle: 0x00140742

>>>> Control <<<<

Class: Button

Instance: 3

ClassnameNN: Button3

Advanced (Class): [CLASS:Button; INSTANCE:3]

ID: 811

Text: OK

Position: 182, 434

Size: 113, 26

ControlClick Coords: 70, 16

Style: 0x50030001

ExStyle: 0x00000004

Handle: 0x00240480

>>>> Mouse <<<<

Position: 261, 536

Cursor ID: 2

Color: 0xB5E2FA

>>>> StatusBar <<<<

>>>> Visible Text <<<<

Total

Speed

Track

Speed

100.0 %

100.0 %

75.1 X

75.1 X

Time

Est. Remaining

Time

Est. Remaining

Status

0:00:05

0:00:00

0:00:05

0:00:00

Copy Track

1

Track Progress

Total Progress

OK

Filename :

Track01.wav

Skip Track

Error correction :

Power Down after extraction finished

7:18.98

>>>> Hidden Text <<<<

Please help i've spent the last hour or so reading through posts which don't seem to help. Thanks.

Edited by EddCase

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  
Followers 0