cgsfgs Posted October 29, 2006 Share Posted October 29, 2006 I need a script that when i push (s) it automatically pushes (z)and(x) both at the same time Link to comment Share on other sites More sharing options...
therks Posted October 29, 2006 Share 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 Link to comment Share on other sites More sharing options...
cgsfgs Posted October 29, 2006 Author Share Posted October 29, 2006 So then ? HotKeySet ( "s" [, "{z}{x}"] ) Link to comment Share on other sites More sharing options...
McGod Posted October 29, 2006 Share 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] Link to comment Share on other sites More sharing options...
cgsfgs Posted October 29, 2006 Author Share Posted October 29, 2006 thatz working for typing but not for puzxhing both at the zxame time. Link to comment Share on other sites More sharing options...
McGod Posted October 29, 2006 Share 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] Link to comment Share on other sites More sharing options...
cgsfgs Posted October 29, 2006 Author Share 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. Link to comment Share on other sites More sharing options...
Developers Jos Posted October 29, 2006 Developers Share 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. Link to comment Share on other sites More sharing options...
cgsfgs Posted October 29, 2006 Author Share Posted October 29, 2006 still need a hotkey though! Link to comment Share on other sites More sharing options...
xcal Posted October 29, 2006 Share 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 Link to comment Share on other sites More sharing options...
AzKay Posted October 29, 2006 Share Posted October 29, 2006 still need a hotkey though!He isnt even trying is he? # MY LOVE FOR YOU... IS LIKE A TRUCK- # 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