Search found 16 matches

by Mandit_Gamer
31 Aug 2021, 06:13
Forum: Gaming Help (v1)
Topic: I need to make this toggle able
Replies: 17
Views: 1828

Re: I need to make this toggle able

Nor do I, but give it a go. Others may like to know if this works. The pause seems like it should be effective. Multi-line hotkey routines generally end in Return . I prefer my approach with the directive, but you have your choice of whatever works. One difference is that you have disabled your but...
by Mandit_Gamer
31 Aug 2021, 01:38
Forum: Gaming Help (v1)
Topic: I need to make this toggle able
Replies: 17
Views: 1828

Re: I need to make this toggle able

It seems that your initial post has nothing to do with your question. The script below worked when I tested it. SetTitleMatchMode, 2 #IfWinActive Lunar RButton:: Click, R Sleep, 500 Click, R SoundBeep, 1000 ; OK to delete Return #IfWinActive Hey, I've made a code can you test this? I don't have acc...
by Mandit_Gamer
31 Aug 2021, 00:49
Forum: Gaming Help (v1)
Topic: I need to make this toggle able
Replies: 17
Views: 1828

Re: I need to make this toggle able

The trigger is the right mouse button. AHK denotes this button as RButton . What the script does: "if I click my right click mouse button it sends 1 more right click mouse button press packet to my computer which takes it as 1 click = 2cps ... and if any application haves the words *Lunar* in its a...
by Mandit_Gamer
30 Aug 2021, 09:11
Forum: Gaming Help (v1)
Topic: I need to make this toggle able
Replies: 17
Views: 1828

Re: I need to make this toggle able

mikeyww wrote:
30 Aug 2021, 06:57
It seems that your initial post has nothing to do with your question. The script below worked when I tested it.

Code: Select all

SetTitleMatchMode, 2
#IfWinActive Lunar
RButton::
Click, R
Sleep, 500
Click, R
SoundBeep, 1000 ; OK to delete
Return
#IfWinActive
Whats the key to toggle it?
by Mandit_Gamer
30 Aug 2021, 06:42
Forum: Gaming Help (v1)
Topic: I need to make this toggle able
Replies: 17
Views: 1828

Re: I need to make this toggle able

If you have a different question than the one that you posted, then you will get a different answer. Nonetheless, if this script did not work for you in Chrome, then I do not have the answer. Sorry. The script works at my end. Others might be able to solve the issue for you. You have not provided a...
by Mandit_Gamer
30 Aug 2021, 05:41
Forum: Gaming Help (v1)
Topic: I need to make this toggle able
Replies: 17
Views: 1828

Re: I need to make this toggle able

Uh, thanks for all the effort but I want a simple thing can you do it? Like just add an toggle thing when I press *r* or else add *r* to start the script nd *z* to stop it if you can make it simpler it will be helpfull for my smol brain to understand it, + I will not only use this for chrome, I will...
by Mandit_Gamer
30 Aug 2021, 05:04
Forum: Gaming Help (v1)
Topic: I need to make this toggle able
Replies: 17
Views: 1828

Re: I need to make this toggle able

mikeyww wrote:
29 Aug 2021, 09:27
I can think of only one way to find out....
Can you gib some other way this didn't work. if it can be made a bit simpler it would be helpful
by Mandit_Gamer
29 Aug 2021, 09:26
Forum: Gaming Help (v1)
Topic: I need to make this toggle able
Replies: 17
Views: 1828

Re: I need to make this toggle able

r:: on := !on SoundBeep, 1000 + 500 * on Return #If mouseOver("chrome") && on LButton:: Click Sleep, 0 Click SoundBeep, 1500 Return #If mouseOver(proc) { MouseGetPos,,, uid WinGet, thisProc, ProcessName, ahk_id %uid% Return thisProc = proc ".exe" } Can I remove the soundbeep things? @mikeyww
by Mandit_Gamer
29 Aug 2021, 09:18
Forum: Gaming Help (v1)
Topic: I need to make this toggle able
Replies: 17
Views: 1828

Re: I need to make this toggle able

r:: on := !on SoundBeep, 1000 + 500 * on Return #If mouseOver("chrome") && on LButton:: Click Sleep, 0 Click SoundBeep, 1500 Return #If mouseOver(proc) { MouseGetPos,,, uid WinGet, thisProc, ProcessName, ahk_id %uid% Return thisProc = proc ".exe" } Will this also turn it off if I press r again?
by Mandit_Gamer
29 Aug 2021, 08:45
Forum: Gaming Help (v1)
Topic: I need to make this toggle able
Replies: 17
Views: 1828

I need to make this toggle able

Hey I want to add a toggle option to this code, if you can edit the code and send it to me it will be helpful. The key I want to make this toggle is *r* And here's the code: Lbutton:: settitlematchmode,2 IfWinActive, Chrome click sleep,0.000000000000000000000000001 click [Mod edit: [code][/code] tag...
by Mandit_Gamer
21 Aug 2021, 23:49
Forum: Ask for Help (v1)
Topic: How to make a script toggle from pressing a key?
Replies: 6
Views: 499

Re: How to make a script toggle from pressing a key?

Can you help me with something else? [Leave this topic], how to make a specific line/program in a script run for a specific time?
by Mandit_Gamer
21 Aug 2021, 04:38
Forum: Ask for Help (v1)
Topic: How to make a script toggle from pressing a key?
Replies: 6
Views: 499

Re: How to make a script toggle from pressing a key?

What do you mean with "toggle the script"? If you want to toggle a specific hotkey, for example f1, you can write f1Active:=true #if f1Active f1:: Msgbox F1 was pressed #if Now you can use say f2 to toggle f1: f2:: f1Active:=not f1Active Uhm can we talk on discord as this is a bit buggy, my discord...
by Mandit_Gamer
21 Aug 2021, 04:37
Forum: Ask for Help (v1)
Topic: How to make a script toggle from pressing a key?
Replies: 6
Views: 499

Re: How to make a script toggle from pressing a key?

Wats the default toggle shortcut?
by Mandit_Gamer
21 Aug 2021, 04:35
Forum: Ask for Help (v1)
Topic: How to make a script toggle from pressing a key?
Replies: 6
Views: 499

Re: How to make a script toggle from pressing a key?

also wat is the default one to toggle it?
by Mandit_Gamer
21 Aug 2021, 03:51
Forum: Looking for Volunteers in other languages
Topic: [Paused] Looking for Volunteers
Replies: 62
Views: 29500

Re: Looking for Volunteers

I can be volunteer for hindi
by Mandit_Gamer
21 Aug 2021, 02:35
Forum: Ask for Help (v1)
Topic: How to make a script toggle from pressing a key?
Replies: 6
Views: 499

How to make a script toggle from pressing a key?

Is it possible to do like if I press *r* it toggles the script file? [It would be usefull as I need to toggle at different places quickly]

Go to advanced search