Jump to content
Sign in to follow this  
tsue

active window

Recommended Posts

tsue

hi, im new to autoit, so i dont know much of the code or how to.

im trying to get the tittle of an active window like if i open a window to get the tittle

here is what i got, but i think im missing something

$title = WinGetTitle("????????") i cant make it yust to grab the title of an active window

MsgBox(0, "Full title read was:", $title)

Share this post


Link to post
Share on other sites
Paulie

Have you opened the helpfile?

So try this

$title = WinGetTitle("")
MsgBox(0, "Full title read was:", $title)

--------------------

Edited by Paulie

Share this post


Link to post
Share on other sites
tsue

ty i opened the help file but i thougt i needed with that command to put a name, cause the help file has that info . thanks

:D

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.