AllenKun Posted February 8, 2010 Share Posted February 8, 2010 Hi guys, how are you? So, i would like to start develop with autoit scripts. I would like to make a script that: - Click and keep press the mouse right button 15minutes. After re-click and keep press the mouse right button .... continuously - continuously clicking the space button of keyboard How can i do this? I already downloaded the autoit program. thx!! Link to comment Share on other sites More sharing options...
Torx Posted February 8, 2010 Share Posted February 8, 2010 (edited) Wow, you even already downloaded the program! Anyhow: #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.0.0 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here Send("{SPACE}") While True MouseDown("right") Sleep(15*60*1000) MouseUp("right") Sleep(10) WEnd If you need the space clicking to happen in a loop as well either add it to the same loop or put it in another, separate script and run both scripts. Edited February 8, 2010 by Torx Ping Utility Link to comment Share on other sites More sharing options...
AutoItKing Posted February 8, 2010 Share Posted February 8, 2010 Welcome to the wonderful world of AutoIt!! The first step is to read the manual. Without a manual, life would be chaos. (as well as this forum) And after you've read the manual, head on over to the Example Scripts forum, and see what you can dig up. Find a short and simple script that you like, and modify it! Happy scripting! http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script] 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