Jump to content

Recommended Posts

Posted

Hi all,

I'm trying to get the Class and Instance ID for this application - Cisco ASDM-IDM Launcher. After I launch the application, I used Au3Info to get the values for Class and Instance it show up as empty. Not sure why. I need to create a script for automated login but I'm missing these values for the script to work.

Refer below for the Au3Info Summary output and some screenshots for reference. Appreciate if anyone could input on this.

>>>> Window <<<<
Title:    Cisco ASDM-IDM Launcher v1.7(0)
Class:    SunAwtFrame
Position:    412, 217
Size:    493, 334
Style:    0x16CA0000
ExStyle:    0x00000100
Handle:    0x00190200

>>>> Control <<<<
Class:    
Instance:    
ClassnameNN:    
Name:    
Advanced (Class):    
ID:    
Text:    
Position:    
Size:    
ControlClick Coords:    
Style:    
ExStyle:    
Handle:    

>>>> Mouse <<<<
Position:    716, 358
Cursor ID:    0
Color:    0xFFFFFF

>>>> StatusBar <<<<
 

Cisco_ASDM-IDM_Launcher_AutoIT.tiff

Posted (edited)

"AutoIt Window Info" tool detects standard Windows controls implemented with the functions in ComCtl32.dll. You can find a list of the controls in the Control Library.

Many modern controls including modern Microsoft controls are not detected by "AutoIt Window Info" tool. These controls can be detected with Inspect.exe in Windows SDK or the "Simple Spy Tool" in the UI Automation framework.

Edited by LarsJ
Posted (edited)

Nice that Windows SDK.

"Inspect"

screenshot - 29122016-1605.jpg

Edited by careca
  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

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