Jump to content

window or no window?


Recommended Posts

okey for the first time iam trying to make something my self so I dont risk getting virus and w/e is out there trying to f#!k my comp up ^^

its for a game some of you people probally know it and plays it :)

so far I got it to click the right places

but I started the game in window mode when I took the coordinations so the coordinations is only right in window mode :)

some people plays in window mode and some people dont =/

QUESTION:

I want to know if its possible to make autoit check if its window mode or not

so it can use the right coords

Second QUESTION:

I want to know if its possible to make it disable the buttons on your keyboard (or something like that) just so the buttons on your keyboard wont do anything +

is it possible to make your mouse not work? :P

its so cool :) the clicking starts with home and it stops with end

iam gonna take end away when the program is finished

Edited by DontClick
Link to comment
Share on other sites

for your second question u can disable keys. Look at Hotkeyset and then make the func that the key calls not do anything. As for checking if it is in windowed mode, I would use a pixel search in the top right conrer to look for the x, but there is probably a better way to do it. Look at controlclick and controlsend to see if they would work for you.

Link to comment
Share on other sites

okey I just found out the autoit window info

program tells you how big the window is... so I guess I can use that?

if anyone knows how I can do it please help me :)

I want it to check how big the window is... then use the coords that I give for that size

is that possible?

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...