hotkey

java applet hotkeys

I was curious if it was possible to create hotkeys in a jApplet that are global for the applet...like a global key handler or something. For example, I would like to be able to press the key, 'F11' lets say, then have a jPanel appear, and then press 'f11' again to make it disappear... regardless of which component I'm focused on.I don't...

Eclipse Synchronize Hotkeys

There is a button "Upload All Outgoing Changes" in Synchronize panel of eclipse. Any way to "click" it without mouse? There is no such action in prefs->general->keys ...

[C#] XButton1/2 as global hotkey

I recently stumbled upon a global hotkey class (This one), it works very well and was just what i needed. But i ran into an issue with it, for some reason it doesn't work with the mouse buttons XButton1 and XButton2. So i would like to ask, if there's any way to make it work, or if there's a logical explanation as of why it won't work...

Winform DataGrid hot keys using Ctrl-E

I am writing an winform application that has a application menu of Ctrl-E to edit the currently selected row in a DataGrid. At any point the user can also use Ctrl-I to insert a new row. It appears that Ctrl-E is a custom key in BaseTextBox (as are Ctrl+K, Ctrl+L and Ctrl+R) http://social.msdn.microsoft.com/Forums/en/csharplanguage/th...

Global Hotkey in Firefox?

Is there a way i can have hotkeys (such as the media buttons) go to the webbrowser and cause a javascript event? I except a firefox extension is required and i am ok if the solution requires greasemonkey as well (i seen growl use them both for javascript interaction. But thats javascript->pc not the other way around) -edit- is this not...

Create Hot-Key to insert code

On almost all of my vb files, at some point I have to enter some code which is about 30 characters long. Rather than me having to type all this out, or copy/paste from an existing file, I was wondering whether its possible, in Visual Studio 2010, to assign a Hot-Key to this value such as Ctrl+A+B which will paste this code in for me? ...

Disable CMD+Tab application switcher

I'm trying to disable the CMD+Tab application switcher, so that my application can register that hotkey. I'm looking for something that applications like Witch and LiteSwitch X are able to do (i.e. allow users to use CMD+Tab as the hotkey for my application). How are they able to do that? ...

Android: Global hotkeys

I'm looking for a way for a user of my android application to specify a hardware button (be it scrollbutton click, any of the volume buttons, optional camera button, etc) and the ability to create a global 'hotkey' to this hardware button even when my application is in the background or the screen is locked. Is this possible at all? If ...

Hotkey for copying text as you type

When I'm programming I often use copy and paste, which requires me to grab the mouse, highlight the text, and press ctrl+C (I'm using Windows BTW). Is there any hotkey or solution out there for a keyboard short cut that I could press and have it start copying each character I type? It would be such a godsend to get rid of that whole high...

[C#] Unregistering the Alt-Tab hotkey in Windows 7

I think this problem should be easy to solve, and I'm bringing it here because I really feel like I've looked everywhere for a solution. My code is written in C# and should simply over write the Alt-Tab hotkey. This line works in XP but return false in 7: RegisterHotKey(handle, ID__ALT_TAB, MOD_ALT, VK_TAB)); I know that Windows 7...

Tying ctrl hotkeys to winform buttons

It's easy to set up an alt hotkey for a winform button by adding an & in front of the hotkey character in the text property of the button. Now, I need to create a control with around 50 buttons (don't ask), and the desire is to have a hot key for each of them, utilizing ctrl hotkeys as well as alt hotkeys. Also, it is desired to have t...

Set global hotkey with Python 2.6

I wanna setup a global hotkey in python 2.6 that listens to the keyboard shortcut ctrl + D or ctrl + alt + D on windows, please help me ...

Triggering Silverlight Prism command with a keyboard shortcut

Hello, Does anybody know whether one can trigger prism command with a shortcut? What I mean is I want to be able to define binding of a command to keyboard shortcut in declarative manner, like ClientUI does: Are there any opensource libraries for that purpose? Or maybe code samples? I found this question but I don't think that it an...

Low level hotkey kext to kill WindowServer?

I need to make a kext which does a very simple function. Whenever a key combination is pressed the kext should kill a process which happens to be "WindowServer" It has to be a kext due to the nature of the problem. It has to be independent from system's UI so if it hangs up, I can press this combination and restart it. Can someone pr...

Add application launch shortcut in Eclipse?

I've been programming Android in Eclipse for about a year now and I have always launched my app by right clicking on my project name in the project explorer, followed by "run as", then "Android Application". There has to be a better way... Is there a way to change this (three mouse clicks): "Right click on project" -> "run as" -> "An...

C# global hotkey (without the usually used global hook)

I'm creating a program for my personal use that must react to some hotkeys. For example, when I press ctrl+win+z it must perform a certain action. At present, I can use GetKeyState() from user32.dll to detect the keypresses, however I am unable to stop them being passed to the active application. In the case of ctrl+win+z, the action I w...

Unregistering or removing or undoing global Hotkey setting leftover from testing jscript in wsh

Below is some jscript code that I modified from the example code at http://msdn.microsoft.com/en-us/library/aew9yb99%28v=VS.85%29.aspx : // Code snippet to create a desktop link: var WshShell = WScript.CreateObject("WScript.Shell"); strDesktop = WshShell.SpecialFolders("Desktop"); var oShellLink = WshShell.CreateShortcut(strDesktop + "\...

Using a hotkey to submit an HTML form?

Hi there, I have a very simple HTML form, only containing a submit button and a textarea. Is there an easy way to use a hotkey to submit this form, as an alternative to pressing the button? Thanks in advance :-) ...

Change hotkey for autocomplete selection

In Eclipse, I find it pretty annoying that Enter is the hotkey that selects an item from the Content Assist/Autocomplete list. Especially in PyDev where there is no end-of-line semicolon, pressing enter for a new line will instead give me whatever is selected in the Autocomplete list. Tab is a much better selection hotkey since I'm not...

Disconnect MS keyboard volume keys from master volume control

The MS natural ergonomic keyboard has buttons on it for volume control. I would like to use these keys as hotkeys to control the volume on my media player instead Problem is, it controls the master volume only and there is nothing in my keyboard software or in my system utilities that can disable it. I have done some searching over the...