Search found 48 matches

by sulphuricsaliva
25 Apr 2022, 17:39
Forum: Ask for Help (v1)
Topic: Long press RButton
Replies: 6
Views: 598

Re: Long press RButton

I didn't notice the change you made to the code, can't believe It's working. Thank you so much for help, this'll be so useful :dance: :dance: :bravo:
by sulphuricsaliva
25 Apr 2022, 15:01
Forum: Ask for Help (v1)
Topic: Long press RButton
Replies: 6
Views: 598

Re: Long press RButton

No, when I put the ctrl alt tab in the same script the on screen keyboard doesn't work.
by sulphuricsaliva
25 Apr 2022, 14:36
Forum: Ask for Help (v1)
Topic: Long press RButton
Replies: 6
Views: 598

Re: Long press RButton

I know this might be a stretch, but I have a script that let's me hold right click and click left to do alt tab. Do you think there's any way I can combine these two? $*rbutton:: KeyWait, rbutton, T0.6 If ErrorLevel { Run, osk.exe IfWinExist, ahk_exe osk.exe WinHide, ahk_exe osk.exe else WinShow, ah...
by sulphuricsaliva
25 Apr 2022, 14:27
Forum: Ask for Help (v1)
Topic: Long press RButton
Replies: 6
Views: 598

Re: Long press RButton

Thank you so much, your script is exactly what I was looking for. I'm grateful for your time. :clap: :clap: :clap:
by sulphuricsaliva
25 Apr 2022, 12:43
Forum: Ask for Help (v1)
Topic: Long press RButton
Replies: 6
Views: 598

Long press RButton

Só I want to long press the mouse right button to open the on screen keyboard and I managed to do that but I want the context menu to appear just when I click and not when I long press it and I can't figure out how. This is what I have, it works but the context menu is annoying... $*rbutton:: Send {...
by sulphuricsaliva
16 Apr 2022, 10:59
Forum: Ask for Help (v1)
Topic: Back\forward buttons long pressed to act as crtl/alt & left/right
Replies: 1
Views: 145

Back\forward buttons long pressed to act as crtl/alt & left/right

Hello, like the title says, I need my left and right mouse buttons to act like left arrow and right arrow (which is easy) but I want to be able to long press them so they become ctrl and alt (as if I was long pressing control and/or alt on my keyboard). This is what I have, It's not working. $*XButt...
by sulphuricsaliva
15 Mar 2022, 16:31
Forum: Ask for Help (v1)
Topic: How long can script be and how many can I use? Topic is solved
Replies: 9
Views: 754

Re: How long can script be and how many can I use? Topic is solved

Yes that seems to be working right now but I'll probably have trouble when adding another #if. Just wanted to know if this is always supposed to happen with #if. Now I just have to figure out the dictionary thing but you have been very helpful, thank you very much. :clap:
by sulphuricsaliva
15 Mar 2022, 15:52
Forum: Ask for Help (v1)
Topic: How long can script be and how many can I use? Topic is solved
Replies: 9
Views: 754

Re: How long can script be and how mant can I use? Topic is solved

I've tried it, no messagebox...I did find out, thanks to you that it was my only #if line that was causing it. How do I prevent this from happening?

the if line is:

Code: Select all

#If WinActive("ahk_class CabinetWClass ahk_exe explorer.exe")
Tab::Send, !v!n{Enter}
return
by sulphuricsaliva
15 Mar 2022, 10:24
Forum: Ask for Help (v1)
Topic: How long can script be and how many can I use? Topic is solved
Replies: 9
Views: 754

Re: How long can script be and how mant can I use? Topic is solved

Thank you for your answer. I have tried each one separately, let's forget the dictionary script for now and I'll give you a very specific issue that's giving me the biggest headache. $*mbutton:: Send {Blind}{mbutton} KeyWait, mbutton, T0.3 If ErrorLevel { Send {Media_Play_Pause} KeyWait, mbutton } r...
by sulphuricsaliva
15 Mar 2022, 09:58
Forum: Ask for Help (v1)
Topic: How long can script be and how many can I use? Topic is solved
Replies: 9
Views: 754

How long can script be and how many can I use? Topic is solved

Hello, I've been adding stuff to my script for a few years now and it has come to a point that I've split it in two because some things stopped working. Even so, I have a third one, which is just like an autocorrect that recently began malfunctioning too, and splitting it doesn't solve the problem. ...
by sulphuricsaliva
22 Feb 2022, 03:08
Forum: Ask for Help (v1)
Topic: Long press to perform more than one action Topic is solved
Replies: 3
Views: 389

Re: Long press to perform more than one action Topic is solved

Awesome, just what I needed, thank you both so much for your help. :dance: :dance:
by sulphuricsaliva
21 Feb 2022, 09:03
Forum: Ask for Help (v1)
Topic: Long press to perform more than one action Topic is solved
Replies: 3
Views: 389

Long press to perform more than one action Topic is solved

Hello, feeling kind of dumb to ask this, I'm sure It's simple but any help would be much appreciated. So I want to long press the enter key for 1 second to send esc, and 1.5 seconds to perform alt+f4 and so on. I can make the esc work but not the alt+f4. This is what I have: $*enter:: Send {Blind}{e...
by sulphuricsaliva
14 Oct 2021, 04:55
Forum: Ask for Help (v1)
Topic: Long press right mouse key to send alt f4
Replies: 12
Views: 2696

Re: Long press right mouse key to send alt f4

ceyhunveysel aren't you sweet. :dance:
by sulphuricsaliva
13 Oct 2021, 12:55
Forum: Ask for Help (v1)
Topic: Long press right mouse key to send alt f4
Replies: 12
Views: 2696

Re: Long press right mouse key to send alt f4

Wow that script is very confusing. Anyway, the problem here is specifically about the rbutton. Any other button or key works.
by sulphuricsaliva
12 Oct 2021, 15:44
Forum: Ask for Help (v1)
Topic: Long press right mouse key to send alt f4
Replies: 12
Views: 2696

Re: Long press right mouse key to send alt f4

I really appreciate the effort but still doesn't work. I've had trouble creating hotkeys with rmouse before...
by sulphuricsaliva
12 Oct 2021, 05:12
Forum: Ask for Help (v1)
Topic: Long press right mouse key to send alt f4
Replies: 12
Views: 2696

Re: Long press right mouse key to send alt f4

Yeah I noticed that right after posting this but it still doesn't work. The script works with a keyboard key but not the right mouse button. :\
by sulphuricsaliva
11 Oct 2021, 04:26
Forum: Ask for Help (v1)
Topic: Long press right mouse key to send alt f4
Replies: 12
Views: 2696

Long press right mouse key to send alt f4

Hello, I'm trying to make a long press on the right mouse button (like half a second or so) to perform as alt+F4. I have similar functions with the mouse but can't figure this one out. This is what I have. $*rbutton:: Send {Blind}{rbutton} KeyWait, rbutton, T0.4 If ErrorLevel { Send {!f4} KeyWait, r...
by sulphuricsaliva
04 Mar 2021, 15:34
Forum: Ask for Help (v1)
Topic: forward & back mouse buttons for volume problem Topic is solved
Replies: 4
Views: 281

Re: forward & back mouse buttons for volume problem Topic is solved

You would have to program that into your script. The A_TimeSince... built-in variables can help you determine what acceleration factor you need. You can then adjust the sleep accordingly. If you need different increments, you can send the key more than once. You build whatever rules you want for th...
by sulphuricsaliva
04 Mar 2021, 08:49
Forum: Ask for Help (v1)
Topic: forward & back mouse buttons for volume problem Topic is solved
Replies: 4
Views: 281

Re: forward & back mouse buttons for volume problem Topic is solved

mikeyww wrote:
03 Mar 2021, 18:12

Code: Select all

XButton1::
While GetKeyState(A_ThisHotkey, "P") {
 Send {Volume_Down}
 SoundBeep, 1500, 30
 Sleep, 50
}
Return
This works, thanks but it behaves in a strange manner, not like the default volume up and down keys. Is there a way to make it work as default? (speed, acceleration and increments)
by sulphuricsaliva
03 Mar 2021, 15:17
Forum: Ask for Help (v1)
Topic: forward & back mouse buttons for volume problem Topic is solved
Replies: 4
Views: 281

forward & back mouse buttons for volume problem Topic is solved

Hello, like the title says I'm trying to replace the two extra mouse buttons (browser forward and back) to control the volume. I have this: XButton1::Send {Volume_Down} XButton2::Send {Volume_Up} return It works but I can't long press these buttons, only single presses. Can anyone help? I'm sure it ...

Go to advanced search