Jump to content
Sign in to follow this  

minor problem but i can't figure it out :\

Recommended Posts

ok so i have my script and stuff, but how do i make it do those actions in a certain window? i just can't figure it out.

i tried winactivate but mabye i was doing it wrong.

HotKeySet("{NUMPAD8}", "Closing")

$d = 1
While $d = 1

MouseMove (497,491, 0)
MouseMove (270, 302, 0)


Func Closing()

Share this post

Link to post
Share on other sites

I use this function to wait for a program's window and when it starts it activates

the window.

first I use this option for matching the title of the window

AutoItSetOption("WinTitleMatchMode", 1)

then send the title I want to match to this function:

Func wstart($wname)
   Until WinExists($wname)

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...