Jump to content
Sign in to follow this  
yellowpower

the use of winactive()

Recommended Posts

yellowpower

we need to know the title of a window before we can apply a WinActive ( "title" [, "text"] ) or winactivate function on it. Is there a way to extract/obtain the title of any window?

thanks

Share this post


Link to post
Share on other sites
Realm

Hello yellowpower,

$title = WinGetTitle('[ACTIVE]','')

Realm


My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.  

Share this post


Link to post
Share on other sites
JohnOne

You somehow need to know which window you want, even with winlist, you are still going to have to decide upon which one you want to use.

It might make it easier if you use wintitlematchmode option 2.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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.