Sign in to follow this  
Followers 0
WalkingDead

is this possible?

6 posts in this topic

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

Share this post


Link to post
Share on other sites



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>

Share this post


Link to post
Share on other sites

#3 ·  Posted (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.. :huh2:

read the forum rules and welcome..

as i said it is possible you have to learn the syntax

function(parameters)

sleep(1000) ; is in miliseconds so there you have 1000 ms so 1 second...

the same with send

send({F1})

see the brackets uses...

my advise is... start with another kind of scripts

CLICK ME IM THE FORUM RULES LINK xD

Edited by monoscout999

Share this post


Link to post
Share on other sites

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
;~ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Share this post


Link to post
Share on other sites

@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.

:huh2:


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

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 :huh2:

Edited by WalkingDead

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0