r/AutoHotkey•
Forikundo

My wacoms tablet pencil is only able to send a keystroke, but I need the button to be able to hold. Do you know how can be done?

v1 Script Help

AUTOHOTKEY V1

Hi, I'm pretty sure this is fairly simple but can't figure out why It's not working

My wacom pencil has buttons, and they are able to send keystrokes, but not act like a key, so if I say "This button sends the "a" button" it has not the hability to hold it, and that's what I need. I'm pretty sure that It's possible cause I did a test and autohotkey can detect where the key is pressed and then where it is released; here is the example, I hooked up the pens button to f18

    f18::    
    Send {a}   
    return    

    f18 up::   
    Send {b}
    return

​

And it works, if I press it it sends an "a", and when I release it it sends b, so I then went and wrote this to know it it was able to hold "a"

    f18::
Send {a down}
return

f18 up::
Send {a up}
return

And now It's not able to even send "a" Do anyone have a clue of what could it be?

Posted Mar 19, 2024, 9:18 AM UTC

42

Comments aren't archived yet

This post had 2 comments on Reddit. Comments for this period haven't been loaded into the archive yet.