Sign in to follow this  
Followers 0
NWz

{Help} Key Macro

6 posts in this topic

Hello. Yes I'm new to these forums and I have a problem I ran into. I have making key macros for this other program but I have a problem. Its really hard to stop my macro, I have to give the key a quick stroke for it to stop. (This isn't a problem but some of my friends wanted this program)

Heres an example of what I need help with: I press 1 to activate {a} being pressed. It works really good but when I want to stop it I run into a problem. I keep having to try my best to stop it. (Its took me as many as 20 trys to get the macro to stop) Could someone post an example script or tell me what the problem could be? If not of those two, atleast tell me if theres some sort of delay that can fix this.

Thanks. :)

Share this post


Link to post
Share on other sites



I press 1 to activate {a} being pressed. It works really good but when I want to stop it I run into a problem. I keep having to try my best to stop it. (Its took me as many as 20 trys to get the macro to stop)

Sounds like you might need to put in a sleep(number) line somewhere to let your computer/script take a breath.

Share this post


Link to post
Share on other sites

Oh ok, where would be the best place to put it in a function like:

Func KPress3()
    $UnPaused = NOT $UnPaused
    While $UnPaused
        Send("{D}")
    WEnd
EndFunc

Like inbetween the While $UnPaused and the Send? :)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Oh ok, where would be the best place to put it in a function like:

Func KPress3()
    $UnPaused = NOT $UnPaused
    While $UnPaused
        Send("{D}")
    WEnd
EndFuncoÝ÷ ظ¤z)ÛzÜz{ayhbí7éIÏjëu©Ý¶zwnË«{ú®¢×+"³Z¶Ø^éi~)^«¢±è´§²IëSjG$jØhÂØ^±Êâ¦Ø¬²ÚîrÛ«yÛaz®±çîËb¢x¬Û(ÂwîËb¢|!W­ézk¢
Ú+"¬!W¿ÁéÝ)-ën²IèÂ'ò¢éÞy֧ʥ¦éÝz»-jwbayìZ^2Zh£]4¦-³}ÚºÚ"µÍÛØ[  ÌÍÔ]ÙYÝÙ^TÙ]
    ][ÝÞÔUTÑ_I][ÝË    ][ÝÕÙÙÛT]ÙI][ÝÊBÝÙ^TÙ]
    ][ÝÞÑTÐßI][ÝË    ][ÝÕZ[]I][ÝÊBÝÙ^TÙ]
    ][ÝÊÉÌÌÎÙ    ][ÝË  ][ÝÔÚÝÓYÜØYÙI][ÝÊHÔÚYP[YÎÎÎÈÙHÙÙÜ[HÛÝ[ÛÈHÎÎÎÂÚ[HBÛY
L
BÑ[ÎÎÎÎÎÎÎÂ[ÈÙÙÛT]ÙJ
B   ÌÍÔ]ÙYHÕ   ÌÍÔ]ÙYÚ[H  ÌÍÔ]ÙYÛY
L
BÛÛ
    ÌÎNÔØÜÈ   ][ÝÔ]ÙY  ][ÝÉÌÎNË
BÑ[ÛÛ
    ][ÝÉ][ÝÊB[[Â[ÈZ[]J
B^][[Â[ÈÚÝÓYÜØYÙJ
BÙÐÞ
M   ][ÝÉ][ÝË    ][ÝÕÈÈHYÜØYÙK][ÝÊB[[Â
Edited by someone

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd

Share this post


Link to post
Share on other sites

And what exactly is your script?


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0