WalkingDead Posted June 1, 2011 Share Posted June 1, 2011 im new here at this kind of things and i really want to learn is this kind of request script is possible? Here's the example of my Fail Script (I Feel so Pathetic about this) $F1:: IfWinActive ******** loop 3 { Send, {F1} MouseClick, Left Sleep 1 Send, {F1} MouseClick, Left Sleep 1 Send, {F1} MouseClick, Left Sleep 1 } return ^z:: Loop { Send,{F3} } ^x::ExitApp ^c::Pause the thing i really want to do is when i start the .exe ~when i press f1 it will spam ~when i press ctrl+z f3 will spam ctrl+x to exit and ctrl+c to pause ~the other thing that i cant do is this auto spam of mouseleft Click with enable, exit, pause ... like the other one that i made but it fails T.T can i have the script for this hope you can understand what i said... sorry for bad english advance thanks Link to comment Share on other sites More sharing options...
sleepydvdr Posted June 1, 2011 Share Posted June 1, 2011 That doesn't look like an AutoIt script. Maybe AutoIt 2 or some kind of AHK script, but not anything that has been current for the past few years. The things you want to produce look like they are possible. What is this for? To control a particular program? #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
monoscout999 Posted June 1, 2011 Share Posted June 1, 2011 (edited) my english is also bad... possible is, but with the right syntaxis.. :S try to learn easy thing using the right syntaxis, use the help file "F1 Key" this is very useful with good examples and don´t try to do a BOT or a SPAM program or a Keylogger if you want to keep learning with us.. read the forum rules and welcome..as i said it is possible you have to learn the syntaxfunction(parameters)sleep(1000) ; is in miliseconds so there you have 1000 ms so 1 second...the same with sendsend({F1})see the brackets uses...my advise is... start with another kind of scriptsCLICK ME IM THE FORUM RULES LINK xD Edited June 1, 2011 by monoscout999 Link to comment Share on other sites More sharing options...
Roshith Posted June 1, 2011 Share Posted June 1, 2011 This will help you to understand ands start of .. All the best..HotKeySet("{F1}", "f1_function") HotKeySet("^z", "ctrlz_function") HotKeySet("^q", "terminate") While 1 Sleep(10) WEnd ;~ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Func f1_function() MsgBox(0,"F1", "Enter code for F1 here") EndFunc ;~ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Func ctrlz_function() MsgBox(0,"ctrlz", "Enter code for F1 here") EndFunc ;~ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Func terminate() MsgBox(0,"Exitting", "Terminating...", 1) Exit EndFunc ;~ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 1, 2011 Share Posted June 1, 2011 @WalkingDead: Welcome to AutoIt. If you are going to around here long, please read the sticky posts at the top of the page for the forum rules. Starting off by requesting help with "auto spam" in your first post, when you haven't even tried to learn the first thing about AutoIt syntax does not bode well. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
WalkingDead Posted June 1, 2011 Author Share Posted June 1, 2011 (edited) okay okay i cant find the Download link here and i dont know what to do when i clicked it i really want to learn this things :)bcoz i saw like a html page? what to click next? @roshith nice script i kinda understand it now Edited June 1, 2011 by WalkingDead 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