Questions tagged [keystrokes]

98 questions
1
vote
1 answer

Apple script simulate key events

I want to know the key codes for all the function keys from F1-F12. From previous search queries I have found keycode 107 to turn brightness down by running this echo "tell application \"System Events\" key code 107 end tell" | osascript And I'm…
someguy234
  • 559
  • 4
  • 17
1
vote
1 answer

distinguish 2 keyboards keystrokes using eventfilter (embedded linux)

I know there has been a few topics similar to this one, they don't ask exactly the same question and their answers are not what I need. I will try to explain briefly my situation. I have two keyboards, one is standard USB keyboard (HID), the other…
1
vote
1 answer

c# wpf catch win key code from previewkeydown event handler

i need to obtain the windows low level key code ( http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx ) intercepting input from UIElement.PreviewKeyDown() for send it via socket and share these with another host. Is there…
Alexander.It
  • 187
  • 1
  • 1
  • 16
1
vote
1 answer

Recording KeyCommands in a round view like tweetie or things preferences

How would you record the keystrokes in view and set them to the NSUserdefaults because every key has a numeric value and there are also modifier keys…how would u do this Thanks
Jack
  • 13
  • 2
1
vote
2 answers

I can't prevent key presses from changing a selected option in Firefox

Using Firefox 3.5.7 The following test page should behave like Opera, Safari and Chrome. Key presses (arrows or 1-5) should have no effect (i.e. The events should be cancelled so that the number never changes from the initial default "3"). [I have…
Anthony
1
vote
1 answer

KeyStroke release detected even if I don't release the key

After reading some tutorials I decided to switch from KeyListeners to KeyBindings. I think I have understood how they work, but I can't figure out why this little program detects a key release even if I don't release the key. EDIT: I am on a Linux…
1
vote
1 answer

Autohotkey: howto clear most Fnn hotkeys assigned by windows?

I wanted to program some of the Fnn and shift-Fnn keys, and clear the rest of them from what windows had assigned them. Just long enough to run a telnet or putty session, then I want to let them revert back to win std. I used a script in…
fwinans
  • 45
  • 1
  • 3
1
vote
2 answers

SSIS keyboard shortcut to move to control flow tab or data flow tab

Now here's a quick question: is there a key to move between the tabs of the package editor in SSIS? The only site I can find is this Microsoft one, and the keyboard shortcut listed there doesn't work in SQL Server Integration Services 2012. Thanks…
Andy Brown
  • 5,309
  • 4
  • 34
  • 39
1
vote
1 answer

SendInput does not work in Windows 8(64 bit) but work in Windows 7(32bit)

I wrote program to sendInput to games and desktop applications instead of taking input from keyboard.This is the result: Windows 7 (32 bit) : worked perfect in games and desktop applications. Windows 8 (64 bit) : DID NOT work in games but worked in…
Marks Mal
  • 41
  • 5
1
vote
3 answers

Increase speed of applescript keystroke

I'm using applescript to automate some browser activity. I have it tied to the speech recognition, so that I can make some custom voice commands. One such command is "I wanna go home", which when heard, pulls up the relevant bus schedule on my…
inspectorG4dget
  • 110,290
  • 27
  • 149
  • 241
1
vote
1 answer

What is wrong with this keybinding?

public void buttons(){ int c = WHEN_IN_FOCUSED_WINDOW; Action right = new AbstractAction() { public void actionPerformed(ActionEvent e) { player.setVX(2); } }; Action stop = new…
1
vote
0 answers

C# Alternative Class/Library To Using PostMessage (user32.dll) To Send Keystrokes?

I have an application that needs to send keystrokes to another process. I have had limited success using the PostMessage function defined in user32.dll. I can send normal keystrokes but I cannot send keystrokes with modifiers (eg. ALT, CTRL). Let me…
Jan Tacci
  • 3,131
  • 16
  • 63
  • 83
1
vote
1 answer

Android : Keep track of total keystroke while application running in background?

Is there any way to keep track of total keystroke in device while my application running in background? I tried to find any working solution but there is no luck. Update : Background means my application is not showing to user. Now it may be running…
Vipul Purohit
  • 9,807
  • 6
  • 53
  • 76
1
vote
5 answers

Keyboard shortcut for hyperlink (jQuery)

I have six links on my webpage (and nothing else) and I would like to number each, 1 to 6. It would be nice to have the client hit corresponding number key without the ctrl and alt, etc. Is this possible and what would be the best approach with…
Erik
  • 5,701
  • 27
  • 70
  • 119
0
votes
2 answers

Invoke keystroke on my mac laptop from my iPad app

I am struggling at the moment to find any documentation regarding how one might invoke keystrokes from my iPad app to my laptop. I have a good understanding of connecting to my laptop via wifi, to this point transmitting and receiving midi and osc…