Jump to content
Sign in to follow this  
dhruv12

Autoit Window info tool not recognizing controls in an external application

Recommended Posts

dhruv12

Please help me in my small doubt..

I wanted to find whether a button is enabled or disabled in an external application, but the Autoit window info tool is only getting the properties of the outside window(frame) and not recognizing the inside controls within the window. Without knowing the control Id for this button on which I wanted to perform operation, I cannot proceed with my script.

Can someone please help me by guiding what to do in situations where the Autoit window info tool is not giving sufficient information about the controls.

Share this post


Link to post
Share on other sites
dhruv12

Please find the screenshot attached:

C:/Users/dhruv/Desktop/script.pngC:UsersdhruvDesktopscript.png

Share this post


Link to post
Share on other sites
FireFox

Please find the screenshot attached:

C:/Users/dhruv/Desktop/script.pngC:UsersdhruvDesktopscript.png

Huh... you should attach them in the way we think (or upload them on a website), we are not going to get them through your computer.

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
dhruv12

Sorry for that ..posting for first time..

anyway..I am not able to paste the screenshot here so explaining:

Please find below the information shown by Autoit info tool.

>>>> Window <<<<

Title: Primavera Timesheets [rgv07541]

Class: SunAwtFrame

Position: 0, 0

Size: 1364, 756

Style: 0x16CF0000

ExStyle: 0x00000100

Handle: 0x00070480

>>>> Control <<<<

Class: SunAwtCanvas

Instance: 1

ClassnameNN: SunAwtCanvas1

Name:

Advanced (Class): [CLASS:SunAwtCanvas; INSTANCE:1]

ID:

Text:

Position: 0, 0

Size: 1348, 718

ControlClick Coords: 988, 79

Style: 0x56000000

ExStyle: 0x00000000

Handle: 0x0007048E

>>>> Mouse <<<<

Position: 996, 109

Cursor ID: 2

Color: 0xF7F3F7

>>>> StatusBar <<<<

Autoit window info tool is showing the class for frame only when I am hovering cursor on the button inside the window of the application. Not getting the information about the button control i.e that is the info tool is only getting the properties of the outer frame instead of getting the properties of buttons inside the window. Please guide in accessing the properties of the button control.

Share this post


Link to post
Share on other sites
dhruv12

The GUI is made in JAVA. The Autoit info window does'nt recognize the java controls. Do we have to install and include some java libraries for this to work?

On searching google.. I found that Java Ferret can be used for recognizing controls in java. Doers anybody has any information on how to proceed with this?

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  

×