cgsfgs Posted October 29, 2006 Posted October 29, 2006 I need a script that when i push (s) it automatically pushes (z)and(x) both at the same time
therks Posted October 29, 2006 Posted October 29, 2006 (edited) Okay, let's see...7 lines of code, 99 byte file saved, took me about 30 seconds to write. With a minimum charge of 2 hours, at $10/hour, that's $20 (Canadian)....Or, you can read the help file about setting hotkeys, making functions, and sending keystrokes, and then write the script yourself.Your call.*Edit: I accept PayPal. Edited October 29, 2006 by Saunders My AutoIt Stuff | My Github
cgsfgs Posted October 29, 2006 Author Posted October 29, 2006 So then ? HotKeySet ( "s" [, "{z}{x}"] )
McGod Posted October 29, 2006 Posted October 29, 2006 (edited) HotKeySet ( "s", "pushkeys" ) While 1 Sleep (10) WEnd Func pushkeys () Send ( "z" & "x" ) EndFunc Edited October 29, 2006 by Chip [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u]
cgsfgs Posted October 29, 2006 Author Posted October 29, 2006 thatz working for typing but not for puzxhing both at the zxame time.
McGod Posted October 29, 2006 Posted October 29, 2006 That good? [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u]
cgsfgs Posted October 29, 2006 Author Posted October 29, 2006 Well im using it for bots online, and its anyoying to shoot the gun with two keys. It won't work for some reason.
Developers Jos Posted October 29, 2006 Developers Posted October 29, 2006 (edited) what about: Send("{z DOWN}{x DOWN}" Sleep(500) Send("{z UP}{x UP}" Edited October 29, 2006 by JdeB 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.
xcal Posted October 29, 2006 Posted October 29, 2006 So put what JdeB did in a function and make a hotkey to the function. How To Ask Questions The Smart Way
AzKay Posted October 29, 2006 Posted October 29, 2006 still need a hotkey though!He isnt even trying is he? # MY LOVE FOR YOU... IS LIKE A TRUCK- #
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