combining 3 key to 1
combining 3 key to 1
i wanna combine Rshift delete and r to my xbutton 1 idk how to do it pls help
Re: combining 3 key to 1
Code: Select all
#HotIf GetKeyState("RShift", "P")
Delete & r::Send "{XButton1}"
#HotIf
Re: combining 3 key to 1
sry but it doesnt workntepa wrote: ↑07 Jun 2023, 16:21Code: Select all
#HotIf GetKeyState("RShift", "P") Delete & r::Send "{XButton1}" #HotIf
Re: combining 3 key to 1
In my first script, if you press RShift, Delete, and r at the same time, it sends XButton1.
Maybe you meant the other way:
Maybe you meant the other way:
Code: Select all
XButton1::Send "{RShift Down}{Delete}{RShift Up}r"
Re: combining 3 key to 1
so i basically wanna animation cancel in stardew valley and that code isnt working too sry it was my fault that i didnt tell you this im dumb sry man an apriciate your help
Re: combining 3 key to 1
so i basically wanna animation cancel in stardew valley and that code isnt working too sry it was my fault that i didnt tell you this im dumb sry man an apriciate your helpntepa wrote: ↑08 Jun 2023, 14:40In my first script, if you press RShift, Delete, and r at the same time, it sends XButton1.
Maybe you meant the other way:
Code: Select all
XButton1::Send "{RShift Down}{Delete}{RShift Up}r"
Re: combining 3 key to 1
Try this:
Or:
Code: Select all
XButton1::{
SetKeyDelay 0, 10
SendEvent "{RShift Down}{Delete}{RShift Up}r"
}
Code: Select all
XButton1::{
SetKeyDelay 0, 10, "Play"
SendPlay "{RShift Down}{Delete}{RShift Up}r"
}
Re: combining 3 key to 1
what if i wanna Rshift and delete to my xbutton1 and delete to my space
Re: combining 3 key to 1
the script im using rightnow is this
and its kinda annoying but this works
[Mod edit: [code][/code] tags added. Please use them yourself going forward.]
Code: Select all
#If WinActive("ahk_exe StardewModdingAPI.exe") || WinActive("ahk_exe Stardew Valley.exe")
XButton1::r
XButton2::RShift
Space::Delete
Delete::Space
#IfWinActive
[Mod edit: [code][/code] tags added. Please use them yourself going forward.]