Questions tagged [keypress]

Occurs when a key is pressed while the control has focus.

Occurs when a key is pressed while the control has focus.

This is the key press template primarily designed to illustrate keys and keystrokes on a computer keyboard.

With additional parameters, a single template can even illustrate a combination of multiple simultaneous keystrokes. A sequence of keystrokes, on the other hand, need to be demonstrated with separate templates.

2619 questions
0
votes
0 answers

Something as easy to use as keyboard lib for windows?

I have looked for something to allow me to hook keypress so that when a key is pressed it calls a function but I have not found anything that is as easy to use a the keyboard lib but that is only for linux unforunately. Does anyone have anything…
user19222567
0
votes
0 answers

PyAutoGUI (or any other keyboard module) thinks "Home" button is "Num7"?

For some reason all the automated tools think my "Home" button is located in Num7 keypad, when using online keypress detectors. Same problem with any of these modules: pyautogui, pydirectinput, keyboard Even tried using keyboard module to detect…
Maksiss
  • 15
  • 6
0
votes
0 answers

Windows keypress event not working in an application when application is launched from windows service

#include #include using namespace std; int Save(int key, const char *file); int main() { //FreeConsole(); char i; while (true) { Sleep(10); for (i = 8; i <= 255; i++) { if…
0
votes
1 answer

send alt-g to chrome window to open a goto dialogue in tradingview

I am trying to open a tradingview url and then invoking a goto date. alt-g. i found this thread which i thought might work. Handle the KeyDown Event when ALT+KEY is Pressed. this has the following code below. (i added SendAltKey by looking at…
SeanK
  • 15
  • 1
  • 3
0
votes
1 answer

How to get r.keypress to run a loop?

I have a simple script written with r.keypress: import java.awt.AWTException; import java.awt.Robot; import java.awt.event.KeyEvent; public class robot { public static void main(String[] args) throws AWTException, InterruptedException { // TODO…
0
votes
0 answers

How to disable text and only accept number in input vue after that move to another input

hi sorry i'm still newbie in vue. So i have input for setup pin. so the idea is the input should only accept numbers, then when filled, it will move to the next input. Then when the delete/backspace keyboard is pressed, it will delete the input and…
Avalon
  • 13
  • 3
0
votes
0 answers

How can I add keyboard shortcut / capture keystroke in PowerPoint in the new web based add-in office.js

How can I add keyboard shortcut to PowerPoint in the new web based add-in office.js, or if I can capture all keystroke send to PowerPoint so I can create my shortcut management script.
0
votes
0 answers

check windows key input buffer in python for pyautogui

OS: Windows 11 Python Version: 3.9 I was playing around with pyautogui module with the below code. import pyautogui from time import time start = time() print(start) while True: current = time() if current - start >= 5: break …
RatDon
  • 3,403
  • 8
  • 43
  • 85
0
votes
2 answers

how could i know the value of input in textarea HTML only of the word written after spacing?

I'm trying to create something in my website using javascript which'll just alert when the value in textarea typed is suppose "Hello", this should only be applicable for the word after space. For example: