Delta01 Posted September 11, 2007 Share Posted September 11, 2007 (edited) Hi, I'm trying to make a macro for a game. In-game when you press Space + 1 it uses an item on a bar, I'm trying to make it so if I press NUMPAD1 it will send Space + 1. I've tried.. HotKeySet("{NUMPAD1}", "one") While 1 sleep(50) WEnd Func one() send("{SPACE DOWN}") send("{1}") send("{SPACE UP}") EndFuncoÝ÷ Ù«¢+Ù!½Ñ-åMÐ ÅÕ½Ðíí9U5AÅôÅÕ½Ðì°ÅÕ½Ðí½¹ÅÕ½Ðì¤()]¡¥±Ä(%ͱÀ ÔÀ¤)]¹()Õ¹½¹ ¤(%͹ ÅÕ½ÐííMA =]9ôìÅôíMA UAôÅÕ½Ðì¤)¹Õ¹ Is there any way i could get it working, or is it just not going to work? Edited September 11, 2007 by Delta01 Link to comment Share on other sites More sharing options...
Fossil Rock Posted September 11, 2007 Share Posted September 11, 2007 "{SPACE}" & "{1}" then "{ENTER}" and what's with the garbage in the code ?? Hi, I'm trying to make a macro for a game. In-game when you press Space + 1 it uses an item on a bar, I'm trying to make it so if I press NUMPAD1 it will send Space + 1. I've tried.. HotKeySet("{NUMPAD1}", "one") While 1 sleep(50) WEnd Func one() send("{SPACE DOWN}") send("{1}") send("{SPACE UP}") EndFuncoÝ÷ Ù«¢+Ù!½Ñ-åMÐ ÅÕ½Ðíí9U5AÅôÅÕ½Ðì°ÅÕ½Ðí½¹ÅÕ½Ðì¤()]¡¥±Ä(%ͱÀ ÔÀ¤)]¹()Õ¹½¹ ¤(%͹ ÅÕ½ÐííMA =]9ôìÅôíMA UAôÅÕ½Ðì¤)¹Õ¹ Is there any way i could get it working, or is it just not going to work? Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
Delta01 Posted September 11, 2007 Author Share Posted September 11, 2007 "{SPACE}" & "{1}"then"{ENTER}"and what's with the garbage in the code ??Thanks a ton. The 'garbage' must be a glitch, i edited the script and it came up, i fixed it and it must have came up again. 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