Jump to content

Recommended Posts

Posted

Okay, so it is set to do this (On the autoit)

set mouse coord blah blah

rightclick

sleep(300)

rightclick

sleep(300)

etc.., I konw the rightclick is wrong, but I have it right on the program :P

The problem is though, it waits like 15 seconds to right click again, how do I remove this delay?

Thanks :( (I'm a newb :idea:)

Posted

The only way to help you is if you show your code

use this...

[ code] ; no spaces

; paste your code

[ /code] ; no spaces

8)

Calrigiht

MouseMove( 4, 167 )

MouseClick( "right" )

sleep( 700 )
MouseClick( "right" )

sleep( 700 )
MouseClick( "right" )

sleep( 700 )
MouseClick( "right" )

sleep( 700 )
MouseClick( "right" )

sleep( 700 )
MouseMove(243, 281)
MouseClick( "Right" )

Send( "w" )
Sleep( 400 )
send( "{F5}" )
Sleep( 200 )
MouseClick( "right")
Sleep(200)
MouseClick("Right")
Send( "{F6}")
Sleep(200)
MouseClick("Right")
Sleep(200)
MouseClick("Right")
SLeep(300)
send("w")
sleep(300)
send("{F1}")
sleep(200)
MouseClick("Right")
sleep(200)
send("A S")
sleep(200)
Send("{LSHIFT down}")
MouseDown( "left")

It will right click, wait 10 - 20 secs (Didn't time) then execute the next command

thanks if you can help :P

Posted

Nevermind, I got it fixed, I had it setting the delay to that heh, didn't notice it :P

But it still isn't setting the window to the right window

Opt("WinTitleMatchMode", 1)
WinActive("Regular")

That chooses the window "regular" right?

Posted

Use mode 2 (Match any substring in the title).

In this mode a window titled Untitled - Notepad would be matched by "Untitled - Notepad", "Untitled", "Notepad", "pad", etc.

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
×
×
  • Create New...