Jump to content
Sign in to follow this  

Mouseclick Activation Bot Request

Recommended Posts



I´m new here but already have a request^^ sorry

can someone help me and write a little code ?

i need a bot that do something like this

I click with the Right Mouse and then the bot press "A" then i Press R.Mouse again and the bot Press"B" ect it should loop^^

[ R.M -> A -> R.M -> B -> R.M -> A -> R.M -> B ]

i only know a little bit about scripting^^ and have no idea how to make it with the mouseclick^^



Share this post

Link to post
Share on other sites

Hi, Sung, welcome to the forum. Can you please detail exactly what program you're trying to automate with your script? The term "bot" sends up red flags here, as it usually involves automating games, which is against the forum rules. You can find these rules spelled out very clearly here.

If, after you have determined you are not breaking the rules, you would like assistance, I would suggest explaining better what you are trying to do :oops:

√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post

Link to post
Share on other sites

hi logan^^ i don´t need it for a game its for my hobby^^ i try to mesh a picture in adobe illustrator^^ but its so damn hardcore boring cause cause after i have the mesh i need to colorate it so i have to chose the point (mouseclick) then press " I " then mouseclick at the picture then press " A " then choose another point^^ and so on ^^

I and A isn´t near to each other so its hard to do it with my little hands^^

hope u can help me^^

the mesh look like that^^ i have to klick every white point ^^ and thenn " i " then click then "a" then next point^^ so it will be much more easy if u can help me^^


Edited by Sung

Share this post

Link to post
Share on other sites

Hehe it's easy:

#include <Misc.au3>
Local $now = 0
; 0 = Bot is pressing A on R.Mouse click
; 1 = Bot is pressing B on R.Mouse click :)
While 1
If _IsPressed(02) And $now = 0 Then
$now = 1
ElseIf _IsPressed(02) And $now = 1 Then
$now = 0

I hope I helped! :oops:

/edit: If the delay is too big or too low, change Sleep(100) to lower (or bigger) value or delete this line.

- It's ready to use, you don't need to change any other values.

You can edit 'a' and 'b' and (02) for other keys, which you can find here:


Happy meshing!

Edited by VixinG


Share this post

Link to post
Share on other sites

thank u soooo much^^ it works perfectly^^

  • Like 1

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