JustDoIt Posted November 7, 2007 Share Posted November 7, 2007 Can someone give me a hint on what function use to click on the "X" to close out an active screen ? Thanks. Link to comment Share on other sites More sharing options...
jvanegmond Posted November 7, 2007 Share Posted November 7, 2007 Can someone give me a hint on what function use to click on the "X" to close out an active screen ? Thanks.Send("!{F4}") would be easier. github.com/jvanegmond Link to comment Share on other sites More sharing options...
JustDoIt Posted November 8, 2007 Author Share Posted November 8, 2007 Send("!{F4}") would be easier.The little screen I am dealing with is a "registration" nagging screen (of an application on its trial period) which cannot be closed by Alt-F4. Only way to kill that nagging screen is to click on "X" on very top right corner. No other way around. Link to comment Share on other sites More sharing options...
jvanegmond Posted November 8, 2007 Share Posted November 8, 2007 (edited) Hmm.. in that case, maybe try this: Opt("WinTitleMatchMode", 4) WinClose("active") You can also just get the absolute coordinates with AutoIt Window Information and use those. Edited November 8, 2007 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
JustDoIt Posted November 8, 2007 Author Share Posted November 8, 2007 Hmm.. in that case, maybe try this: Opt("WinTitleMatchMode", 4) WinClose("active")it didn't work for me. 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