ku1ture Posted September 6, 2006 Share Posted September 6, 2006 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 . Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 6, 2006 Moderators Share Posted September 6, 2006 We don't email suggestions, just keep checking the thread you posted. WinGetTitle('') is your answer. While 1 ToolTip(WinGetTitle(''), 0, 0) Sleep(10) WEnd 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now