AndrewRenn Posted October 5, 2008 Share Posted October 5, 2008 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 The problem is though, it waits like 15 seconds to right click again, how do I remove this delay? Thanks (I'm a newb ) Link to comment Share on other sites More sharing options...
Valuater Posted October 5, 2008 Share Posted October 5, 2008 The only way to help you is if you show your code use this... [ code] ; no spaces ; paste your code [ /code] ; no spaces 8) Link to comment Share on other sites More sharing options...
AndrewRenn Posted October 5, 2008 Author Share Posted October 5, 2008 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 expandcollapse popupMouseMove( 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 Link to comment Share on other sites More sharing options...
AndrewRenn Posted October 5, 2008 Author Share Posted October 5, 2008 Nevermind, I got it fixed, I had it setting the delay to that heh, didn't notice it But it still isn't setting the window to the right window Opt("WinTitleMatchMode", 1) WinActive("Regular") That chooses the window "regular" right? Link to comment Share on other sites More sharing options...
Pain Posted October 5, 2008 Share Posted October 5, 2008 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. Link to comment Share on other sites More sharing options...
AndrewRenn Posted October 5, 2008 Author Share Posted October 5, 2008 Use mode 2 (Match any substring in the title).I tried that xD Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now