licho Posted March 7, 2017 Posted March 7, 2017 Hello, I need very simple script, but im not scripter. I've tried to do it myself but spend 5 hours and it doesnt work. I need script: on hotkey "F" right click x1,y1 then x2,y2 after it if pressed "F" again right click x3, x4 then x5, x6 and again And all of it without moving cursur Sorry for bothering with such easy script, but i need it.
Developers Jos Posted March 7, 2017 Developers Posted March 7, 2017 (edited) 8 minutes ago, licho said: I need very simple script, but im not scripter. I've tried to do it myself but spend 5 hours and it doesnt work. Doesn't work like that in these forums. Post what you have and tell us what you want it to do and what doesn't work, so we can give you support so you can finish it! Jos Edited March 7, 2017 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
licho Posted March 7, 2017 Author Posted March 7, 2017 HotKeySet("h", "Actions") While 1 Sleep(100) WEnd Func Actions() HotKeySet("h") Send("h") ControlClick ( "Dota 2", "", [, button = "right" [, clicks = 1 [, 200 [, 200]]]] ) HotKeySet("h", "Actions") Sleep(5) EndFunc i tried with simple clicking and it worked, but i dont understand controlclick
Developers Jos Posted March 7, 2017 Developers Posted March 7, 2017 You forgot the bit where I mentioned what it is you want it to do, but see you used "Dota 2" as window tittle which means to me you are trying to automate a game. Unfortunately you appear to have missed the Forum rules on your way in. (there is also a link in my signature) Please read them now particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts