Jump to content
Sign in to follow this  

How to winActivate, MouseClick on a No Title window and having class Information only.

Recommended Posts


Hi , 

Please help me  to know the way to activate and muse click on an window i.e. having no Title and only class information , I am using below code 

ConsoleWrite('STEP4' & @CRLF)
WinWait("[TITLE:; CLASS:Qt5QWindowIcon]", "")
ConsoleWrite('STEP5' & @CRLF)
WinActivate("[TITLE:; CLASS:Qt5QWindowIcon]", "")
ConsoleWrite('STEP6' & @CRLF)
MouseClick('primary', 152, 151 ,1 ,0)
ConsoleWrite('STEP7' & @CRLF)

But in Execution i see till "STEP 4 " only STEP 5 never gets executed.Below code works fine i.e. till STEP4. 

WinWait("[TITLE:xxxx; CLASS:Qt5QWindowOwnDCIcon]", "")
ConsoleWrite('STEP2' & @CRLF)
WinActivate("[TITLE:xxxx; CLASS:Qt5QWindowOwnDCIcon]", "")
MouseClick('primary', 66, 263 ,1 ,0)
ConsoleWrite('STEP3' & @CRLF)


Please Help !!!!

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.