Delta01 0 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 Share this post Link to post Share on other sites
Fossil Rock 2 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! Share this post Link to post Share on other sites
Delta01 0 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. Share this post Link to post Share on other sites