Questions tagged [keystrokes]

98 questions
2
votes
2 answers

Disable CTRL-TAB in Flash Builder App

When a flash app is loaded in the browser, it default captures the CTRL-TAB keystroke which is needed for changes tabs in modern browsers. Any ideas on how to configure Flash Builder 4 to not listen for these keystrokes or to bubble them up to the…
klkitchens
  • 1,202
  • 2
  • 16
  • 39
2
votes
1 answer

Change Key in WPF KeyDown

Legacy app conversion issue. VB6 TextBox_KeyDown() allows key to be changed (e.g. force keystroke to upper case but there are many other uses). How can this be done in WPF? The only way I can see is too handle all TextBox keystrokes. In effect,…
BSalita
  • 8,420
  • 10
  • 51
  • 68
2
votes
1 answer

Sending keystrokes to a browser window in python

I need to send keystrokes to a inactive browser window using python. I've tried using win32 module, but it doesn't work. It works in notepad but not the browser window. Hopefully something simple and Pythonic, but at this point, I'm willing to try…
2
votes
1 answer

Livecode command keystrokes

Is there a way to drag a stack window while developing on the MAC OS other than at the bar at the top of the window? If I can't see the top bar and try to drag somewhere in the middle of the stack window, it activates that group, object, etc. The…
2
votes
2 answers

Cocoa webview textfield not accepting keystrokes

I am a newbie in OSx development. I have a Cocoa application which uses a Webview. Everything is working fine, except for the textfield in the webview. I know how to enable keystrokes in NSTextField, but not the ones in the Webview. I've been…
Kimpoy
  • 1,974
  • 3
  • 21
  • 38
2
votes
2 answers

Java How to intercept key combinations anywhere on a window using keybindings

My application will be used on a small twin engine aircraft. The environment is "bumpy" and the nipple "mouse" is very hard to use (even in the hanger!). I need to be able to intercept key combinations for at least all the commonly used actions…
Nate Lockwood
  • 3,325
  • 6
  • 28
  • 34
1
vote
1 answer

How to automate the f5 keystroke on a particular window

I need to send the "f5" keystroke to a specific application once every 60 seconds. The application remains running in a fixed position on one of three screens. Is there any way to automate this keystroke without having to remain in focus?
user3743054
  • 11
  • 1
  • 2
1
vote
1 answer

imitate user activity / prevent automatic afk detection

Is there a way to simulate user activity on desktop on Windows? This is the situation: A friend of mine works from his home. His company recently decided to provide their employees with a communication tool which they have to keep running in the…
hooch
  • 1,135
  • 1
  • 16
  • 31
1
vote
0 answers

How to open and input keystrokes on a seperate .exe file on c++? (Windows)

I'm a noob when it comes coding and even more so when coding in c++. For short backstory, a family member is getting annoyed at how long it takes to input all of their information onto a program they use regularly. The information that is input…
parallax
  • 11
  • 1
1
vote
1 answer

Subclassing with fewer keystrokes

How can I define a subclass using an instance of the superclass without typing a lot? See: class A(): def __init__(self,x,y): self.x=x self.y=y class B(A): def __init__(self,x,y,z): A.__init__(A,x,y) …
l7ll7
  • 1,309
  • 1
  • 10
  • 20
1
vote
1 answer

how to generate keystroke combination in win32 api?

i have this code that simulates the pressing of the window key. But how would i make it to press window+d key, essentially showing desktop. void ShowDesktop(void) { // Simulate a key press keybd_event( VK_LWIN, 0x5B, …
infinitloop
  • 2,863
  • 7
  • 38
  • 55
1
vote
1 answer

InputSimulator works while debugging but not when program is built

In my project im using inputsimulator and it works great when visual studio is ran as an administrator, but when i build it into a .exe it doesn't work even when i run it as administrator. here's my code Private Sub Button1_Click(sender As Object,…
sniperfull
  • 27
  • 1
  • 9
1
vote
1 answer

Which all keys in Bluetooth Keyboard to force Screen-Lock Android and iOS phone

Once I paired by phone with a Bluetooth keyboard which all "keys" (like in windows is Win+L) should be pressed in order to screen-lock my Android and iOS phone. In fact, I am not using Bluetooth Keyboard, I am implementing a virtual Keyboard in…
ABHIJITH KINI
  • 221
  • 1
  • 13
1
vote
1 answer

Java tracking keystrokes with inputmap

I have this problem with my code, I'm trying to learn how to use keystrokes in Java, and i want to be able to track which keystrokes I'm pressing. I'm trying to use KeyEvent.VK_UP to track what I'm pressing. import java.awt.event.*; import…
Marni12ox
  • 11
  • 1
  • 2
1
vote
3 answers

Append keystrokes to div JS

I was wondering which, if any, framework would be the best to achieve capturing keystrokes and appending these to, say a "p" element. What I'm trying to achieve is having the client type something on the keyboard, and then have that sentence or…