Jump to content

{Help} Key Macro


NWz
 Share

Recommended Posts

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. :)

Link to comment
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.

Link to comment
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
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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...