Rappscallion

Application with identical title and no visible text

6 posts in this topic

Hello!

Total Autoit beginner here, but I'd appreciate some help. I'm trying to automate the installation of an application (SMART Notebook 2014) using Autoit but I've run into some problems. Basically it's just a script that uses the WinWaitActive function and the send keypresses.
 

WinWaitActive("Education Software 2014 December")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("{SPACE}")
Send("{ENTER}")

The first problem is that the installation wizard consists of multiple choices followed by clicking Next, however throughout the wizard the Window title remains the same, "Education Software 2014 December" so I can't distinguish one window from the other. The second is that I can't use visible text to identify the windows either. When I use the Window Info tool, the Visible Text field is just blank. Is there any other way to indentify which is the active window during the installation?

 

 

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Use windows info to check witch control ID is your NEXT bouton then you can check in the helpfile

"Control" commands

ControlClick etc...

 

tips: Windows info in in your autoit folder in the start menu

Edited by caramen

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Sadly, that doesn't work. The only info I get with the Windows Info tool is the Title "Education Software December 2014" and the Class "Qwidget", everything else is blank. After some googling it seems Qwidgets are hard to automate with Autoit as it acts as a software wrapper of some kind?

Edited by Rappscallion

Share this post


Link to post
Share on other sites

Does it send keys to the software

Share this post


Link to post
Share on other sites

Yes, it does. I can use the Window title to send key presses. But I can't distinguish which part of the wizard I'm at. Also, towards the end of the wizard it install all the files, which takes 5-15 minutes depending on how fast the PC is. I guess I could use pauses before sending the key presses but it seems awkward.

Share this post


Link to post
Share on other sites

Try

WinWaitActive("Education Software 2014 December")

WinSetTitle(" Education Software 2014 December","","New Title")

Send("some keys") ; or controlclick

WinWaitActive("Education Software 2014 December")

WinSetTitle(" Education Software 2014 December","","New Title")

Send("some keys")

..

..

..

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