Jump to content

Question about Winmove


Recommended Posts

Hi all,

I have a question about a script i am trying to create to move poker tables to a certain position onto the screen automatically. I would like this script to move tables based on the blind level which is found in the title of the window. An example of the title is below:

$3.40 NL Hold'em [Turbo, 18 Players] - Tournament 278371716 Table 2 - (Blinds $10/$20)

The "problem" is that the tournamentnumber changes with every tournament (of course logical), but I don't know how to make AutoIt search in the last part of the title (Blinds $10/$20).

I figure i should use Winmove to move the window to a particular part of screen, but i have tried to only use the last part of title but that doesn't seem to work.

Thanks in advance for any tips how to make this possible.

Link to comment
Share on other sites

Hi, to make WinMove title match part of a string use

Opt("WinTitleMatchMode", 2)     ;1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=Nocase
GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF.
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...