Yes, it's possible in swfkit pro.
The following is the code
Code:
dllimport "user32.dll" stdcall Boolean RegisterHotKey(pointer, int, unsigned int, unsigned int);
dllimport "user32.dll" stdcall Boolean UnregisterHotKey(pointer, int);
dllimport "kernel32.dll" stdcall int GlobalAddAtomA(String);
var id = GlobalAddAtomA("My hot key identifier1");
// registers hot key 'CTRL+SPACE"
RegisterHotKey(getMainWnd().handle, id, /*MOD_CONTROL | MOD_ALT*/2, /*VK_SPACE*/0x20);
getMainWnd().onClose = function () {
UnregisterHotKey(this.handle, id);
}
// handles the hot key message
getMainWnd().onMessage = function (msg, wparam, lparam) {
if (msg == /*WM_HOTKEY*/0x312 && wparam == id) {
var wnd = getMainWnd();
if (wnd.visible) wnd.hide();
else wnd.show();
}
}