Jump to content

Winactivate problem


Recommended Posts

I have not used Autoit for a few years, so this may be an issue where I am doing something wrong.

I started my script out with a simple Winactivate("Final Fantasy")

then a Winwaitactive("Final Fantasy")

 

It gets stuck there, waiting on the window to become active. The winactivate never activates my Final Fantasy window. Am I doing something wrong? My Final Fantasy game iwndow is in windowed mode, and this is how I always id it before with other games.

Thanks for any assistance

 
Edited by Leopardfist
Link to comment
Share on other sites

You can use AutoIT Window Info application to get the window details information, and then use this like this:

Opt("WinTitleMatchMode", 2)
WinWaitActive("[TITLE:Final Fantasy]")

 

or combine it using CLASS like this:

Opt("WinTitleMatchMode", 2)
WinWaitActive("[TITLE:Final Fantasy; CLASS:#32770]")

 

Where TITLE and CLASS you get from AutoIT Window Info application

Link to comment
Share on other sites

If you read the rules properly, you will find that there is NO exception.

Mention manipulation of any Game element at all (even just a window), and your topic is doomed to being locked when a MOD notices it.

You are lucky to have got what you've got so far, with michaelslamet being indiscreet.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...