Jump to content

How to identify when the button is active to continue.


Recommended Posts

Hi people. I have a problem and I don't know how to solve it. I have an application in AlterData that performs the import of invoices in the system. In this way, XML files are taken from a directory that may or may not have a significant amount of data to read.In order not to use Sleep(time), I think I could use more intelligent functions to identify when the button is active.So, I tried to use some functions to solve, but I didn't have success with them. can anybody help me? Is there a possibility that the software is blocking?

botao_inativo_voltar.png

botao_voltar_inativo.png.9827ca48e2ad33b981170f43cd755879.png

Edited by lucashmcastro
Link to post
Share on other sites
  • lucashmcastro changed the title to How to identify when the button is active to continue.
On 7/14/2021 at 3:13 PM, Nine said:

Try to au3info.exe tool over that button to see if you get control informations.

Yes, I've already done the checks through au3info.exe and got the controller info, but apparently the commands aren't being applied.This is the print about code and au3info.exe.  

au3info.exe

>>>> Window <<<<
Title:     Importador de Movimento ISS em XML
Class:    TfrmPrinImpISSXML
Position:    188, 149
Size:    647, 469
Style:    0x16C80000
ExStyle:    0x00010100
Handle:    0x0000000000030694

>>>> Control <<<<
Class:    TBitBtn
Instance:    2
ClassnameNN:    TBitBtn2
Name:    
Advanced (Class):    [CLASS:TBitBtn; INSTANCE:2]
ID:    198294
Text:    < &Voltar
Position:    362, 399
Size:    86, 29
ControlClick Coords:    31, 13
Style:    0x5C01000B
ExStyle:    0x00000000
Handle:    0x0000000000030696

>>>> Mouse <<<<
Position:    589, 591
Cursor ID:    0
Color:    0xF0F0F0

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
pgeBemVindo
&Ajuda
< &Voltar
&Cancelar
&Fechar
Ava&nçar >


>>>> Hidden Text <<<<
 

info.png

info2.png

codigo.png

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...