Jump to content

Recommended Posts

Posted (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 by Delta01
Posted

"{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!

My-Colors.jpg

cuniform2.gif

Posted

"{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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...