Engineer Posted August 19, 2011 Share Posted August 19, 2011 I'm playing around with the mousemove function and it won't seem to work. I'm not sure how you put the code inside the forum page so heres a copy paste: #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.6.1 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here MouseMove(20, 35[,20] ) MouseMove(90, 70[,20] ) MouseMove( 5, 10[,20] ) I don't know what I'm doing wrong. I just keep getting: AU3Check errors C:\Users\Jolly Pack Rat\Desktop\Mouse Test 1.au3(12,17) : ERROR: syntax error MouseMove(20, 35[ ~~~~~~~~~~~~~~~~^ C:\Users\Jolly Pack Rat\Desktop\Mouse Test 1.au3(13,17) : ERROR: syntax error MouseMove(90, 70[ ~~~~~~~~~~~~~~~~^ C:\Users\Jolly Pack Rat\Desktop\Mouse Test 1.au3(14,17) : ERROR: syntax error MouseMove( 5, 10[ ~~~~~~~~~~~~~~~~^ C:\Users\Jolly Pack Rat\Desktop\Mouse Test 1.au3 - 3 error(s), 0 warning(s) I'm just not a natural with programing so any advice on this would be helpful. and could you tell me how to but in codes inside the questions? thanks. Link to comment Share on other sites More sharing options...
smartee Posted August 19, 2011 Share Posted August 19, 2011 hi Engineer, I'm not sure how you put the code inside the forum page As for your script, the problem is the square brackets. It is there in the call-tip to show you that the third parameter is optional, but you don't type it in your code. Try this insteadMouseMove(5, 10, 20) Hope this helps, -smartee 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