Sign in to follow this  
Followers 0
danr29

Auto IT not recognizing window w/ timer

3 posts in this topic

Hello! I am trying to automate the removal of an application called Cisco Security Agent. There is an unavoidable window that appears whenever you attempt to remove the software (that's why I'm using Auto IT to do this). I wanted to send a control click or key to the window, but the window I'm trying to reference has a timer in the header. I'm not really sure how to get Auto IT to recognize a window with a timer in it (maybe there's a variable for this, I don't know). If anyone can help me out with this I would greatly appreciate it. Thanks.

-Dan

Share this post


Link to post
Share on other sites



Welcome to the Autoit Forums...

press Start > Autoit v3 > Autoit Window Info

get the window info and use ControlClick() ... see help

for a great tutorial see "Welcome to Autoit 1-2-3" ( in my signature below )

it has a great example for the Autoit window info tool

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

...but the window I'm trying to reference has a timer in the header...

If by "header" you mean the window's title...

...then look in the AutoIt help file under "AutoItSetOption".

In particular, the settings for "WinTitleMatchMode":

Alters the method that is used to match window titles during search operations.

1 = Match the title from the start (default)

2 = Match any substring in the title

3 = Exact title match

4 = Advanced mode, see Window Titles & Text (Advanced)

If the window only has a timer in the title...

...it is possible to "ControlClick" on a window without the title info:

ControlClick ( "title", "text", controlID [, button] [, clicks]] )

ControlClick ("", "very specific text", controlID)


[size="1"][font="Arial"].[u].[/u][/font][/size]

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