Jump to content
Sign in to follow this  

How to...

Recommended Posts


I want my script to focus on a previously selected list item in an active window that opens a context menu when double-clicked.

I can access the active window title where I have previously selected an item.

A double mouseclick opens that item's context menu. I send a keystroke and mouseclick.

A new window opens with part of the title containing the text of the item I selected.

My script needs to default to that new window's title so I may send text and activate a control button which completes the process.

How do I make my script use the previously selected list item in the first active window?

How do I make my script to default to the new active window with the changing window title?

The previously selected item will be different every time. Thus the title of the new window resulting from the context menu selection will also change.

Please send suggestions to ku1ture@yahoo.com .

Share this post

Link to post
Share on other sites

We don't email suggestions, just keep checking the thread you posted. WinGetTitle('') is your answer.

While 1
    ToolTip(WinGetTitle(''), 0, 0)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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.