I need help, toggle button.

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
kevin

I need help, toggle button.

22 Mar 2017, 13:20

So basically i got a friend who gave me a script and i can't manage to stop it. Its like a script where i click F5 and it automatically types what i did in the script box. So like lets say u type "hi" in the script box and then u can go outside and spam F5 to spam hi on other things on the web. So i wanted to know if there are any "Stop" button. Because like sometimes i type a little too much and i just want it to stop. But they are no buttons that is "stop" button. Here are the current scripts

Gui, Add, Text,, ------------------------------------------Key Delay------------------------------------------
Gui, Add, Edit, w300 vKeyDelay, 100
Gui, Add, Text,, ----------------------------------------Piano Music-----------------------------------------
Gui, Add, Edit, R10 w300 vPianoMusic
Gui, Add, Text,, -------------------------------F5 To Play Piano Music-------------------------------
Gui, Add, Text,, ----------------------------Made by Rasv on V3rmillion----------------------------
Gui, Show
F5::
!F5::
Gui, Submit, Nohide
SetKeyDelay, %KeyDelay%
PianoMusic := StrReplace(PianoMusic, "`n") ; Remove linefeeds
PianoMusic := StrReplace(PianoMusic, "`r") ; Remove carriage returns
PianoMusic := StrReplace(PianoMusic, "/") ; Remove Ingame Chat
Send, %PianoMusic%
GuiClose:
ExitApp
4GForce
Posts: 553
Joined: 25 Jan 2017, 03:18
Contact:

Re: I need help, toggle button.

23 Mar 2017, 00:00

Probably not the best but a simple button binded to Reload might work

Code: Select all

F9::Reload  ; insert this line before [c]F5::[/c] ( just after [c]Gui, Show[/c] )

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 214 guests