aketzs Posted March 27, 2013 Share Posted March 27, 2013 Im just a begginer in scripting i just follow the tutorial on youtube about AutoIt can Anyone help me about my Problem... I have a Code copied in AutoIt Tutorial on youtube with this code HotKeySet("[UP]", "up") HotKeySet("[RIGHT]", "right") HotKeySet("[DOWN]", "down") HotKeySet("[LEFT]", "left") While 1 = 1 Sleep(1000) WEnd Func down() $pos = MouseGetPos() MouseMove($pos[0], $pos[1] + 1, 1) EndFunc ;==>down Func right() $pos = MouseGetPos() MouseMove($pos[0] + 1, $pos[1], 1) EndFunc ;==>right Func left() $pos = MouseGetPos() MouseMove($pos[0] - 1, $pos[1], 1) EndFunc ;==>left Func up() $pos = MouseGetPos() MouseMove($pos[0], $pos[1] - 1, 1) EndFunc ;==>up in the tutorial I see that the OS used is Windows 7 and the Script is Working My question is how come the Script is now working on my Desktop Computer just wondering.. I hope Someone with a good heart help me, because I already spend this whole day searching in google for answers but I didnt find anything so I came here in the forum thanks. Oh I almost forgot this is the link of the Video Tutorial I follow that is not working on my Desktop Link to comment Share on other sites More sharing options...
JohnOne Posted March 27, 2013 Share Posted March 27, 2013 In your hotkeyset change [ to { and ] to } eg {UP} AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
aketzs Posted March 27, 2013 Author Share Posted March 27, 2013 wow thanks ! is that what all i really need to do Thanks Really ! you made me happy ammm how did you know that LOL Link to comment Share on other sites More sharing options...
JohnOne Posted March 27, 2013 Share Posted March 27, 2013 I'm a Harvard moon genius ivlB 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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