hotkey

Global hotkey poller via python for Mac OS X

I use this for Linux. And pyhook on windows. But I don't know what to use to register if a key is pressed (global - non-focused) on Mac OSX. How can one do this? I'm mostly looking at registering the modifier keys (ctrl/alt/shift etc.). ...

What is the hotkey to jump between split windows in Visual Studio 2008

I've split the code window for a long css file into two sections, top half for viewing one area of code, bottom area for viewing another area of the code. I did this by dragging the splitter on the top right of the code editor to the middle of the editing area. What is the keystroke command that makes the cursor jump from the lower wi...

Is there a way to capture HotKeys/Shortcuts in Excel VSTO using only C# and no VBA?

So I want to capture some key-commands in our Docuement-level Excel VSTO addin. I can't seem to find a way to do it, other than to use VBA and have our addin talk to the VBA. Any help/examples would be greatly appreciated. I am using Excel 2007. ...

Cross platform global hotkey application that I could package with my application?

So, I have cross platform application that I made, I need to fire it off on a global key command, which the sdk I am using is not able to do. I was wondering if there is any existing app that I could package with my app to act as the global hotkey manager for my application (license that would allow that). The problem is the cross-platfo...

Eclipse HotKey: how to switch between tabs?

How to switch opened windows in Eclipse? There is Ctrl+F6, but it's asking me which one i want, but i want switch it like tabs in browser or window in operating system (Cmd/Win+Tab) without file-selection from the list. How to do this easy thing in Eclipse? I've tried to assign hotkey for events: forward forward history next page but i...

Compile all projects hotkey

Hello, I have two projects in a project group that share same units(mostly all).I use both projects in order to test something I've written. The problem: When I change a unit that is used by both projects and run the current project,the other one uses the old code in that unit(because its not compiled). The only possibility I know to ...

Hotkey for double-click highlight?

I'm working in Eclipse and find myself always replacing multiple copies of the same word, but I always have to take my hands off the keyboard and screen to get the mouse, hover over the word, double click to select, and then copy or rewrite the word. Is there any way I can just move the cursor inside the word and hit some hotkey that wou...

Set global hotkeys using C#

I need to capture a key press when my program is not in focus. (ie. Ctrl+Alt+J) and trigger an event in my program. Thus far i have found this dll that appears to be the corrrect path" [DllImport("user32.dll")]private static extern int RegisterHotKey(IntPtr hwnd, int id,int fsModifiers, int vk); [DllImport("user32.dll")] private stati...

How can I make a hotkey trigger a WinForms button?

I have a button on a form to which I wish to assign a hot-key: namespace WebBrowser { public partial class MainForm : Form { public MainForm() { InitializeComponent(); } int GetPixel(int x, int y) { Bitmap bmp = new Bitmap(1, 1, PixelFormat.Format32bppPArgb); Graphics grp = ...

MacOSX + Eclipse: Rename variable function not working

Good day. I have Eclipse PHP Galileo for Mac OSX, 32bit Cocoa version. The problem is the rename function doesn't work properly. While editing PHP file I choose Refactor-Rename menu or a rename hotkey and Eclipse doesn't offer me to rename a variable, instead a rename file dialog appears. Tried to configure hotkeys but no luck. If you do...

jQuery Dialog blocks Firefox hotkeys

I'm currently working with jQuery 1.4.2 and jQuery UI 1.8.2. I'm experiencing some weird behavior after I have closed a modal dialog. When I try to reload the page with Ctrl+F5 nothing happens. Another weird thing is that the context menu of Firefox can only be opened with right clicking twice. The Firebug console is showing me the fo...

how to ignore hotkeys in os x

Hi, do the Mac OS X APIs provide a method to ignore all systemwide hotkeys? I'm currently researching how to build a kiosk-mode like application. I searched the OS X Developer documentation and tried google (combinations of [cocoa, carbon, os x, ignore, global, hotkey, kiosk, event]), but nothing turned up yet. I know this has been d...

Any way to programatically trigger global mediakeys in Windows using Java?

Is there any way to programatically trigger global mediakeys in Windows using Java? I want to trigger the global hotkeys that mediaplayers are listening to. Is this possible in Java or maybe in C#? ...

how to minimize window to maximize window using shortcut key in window application using c# ?

how to minimize window to maximize window using shortcut key in window application using c# ? ...

Set global hotkey with Windows modifier

I want to set up a global hotkey* in VB6 that listens to the keyboard shortcut Win + O. I have found heaps of messy examples, but nothing which involves the Windows key. What's the ideal way to setup hotkeys and how does one include the Windows key as a modifier? * I'm after a global shortcut. That means I don't have to have the appli...

Hotkey (Not Global) WinForm .NET

In my winform app i would like one special button to run a test everytime i press it. There are dozens of controls so implementing it in each one takes too much time. Is there a way i can set a hotkey so no matter what i am doing in the app i can press the key and it will fire off my event? ...

Key combinations for a Hot key

We are developing a hot key for one of our application. A key combination that is easy to remember easy to press (especially for people with small fingers) certainly not ctrl-alt-del ;) Which key combination do you suggest for a hot-key? EDIT: Please suggest any specific character instead of generic ones. ...

Is jQuery support rich:hotKey feature?

Hi, i have used rich:hotKey for h:inputText in my jsp page. And also i wrote jQuery for get the textBox value. When i use jquery, that time rich:kotKey not worked sample.jsp <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html"...

Cancel page forward/back hotkeys in Firefox with Greasemonkey

First the background: In Firefox 3.6.3 on Mac OS X 10.5.8 when entering text into a standard the hotkey combination of Command+LeftArrow and Command+RightArrow jump the cursor to the start/end of the current line, respectively. However, when using CKEditor, FCKEditor and YUI Editor, Firefox does not seem to completely recognize that it...

How can I determine the arguments for a private API function?

I want to create a replacement for the app switcher (aka 'cmd + tab'). I know that it's possible because Lite Switch X does it. What I've got achieved so far: By force quitting the dock and calling CPSRegisterForKey() (which is a private API function) I can prevent the default cmd+tab from working. The second step is two register the...