jason404 Posted June 17, 2011 Posted June 17, 2011 (edited) Is there any way to get a list of the system-wide keyboard shortcuts currently in use, including what programs they are attached to?I have noticed that some are overriding others unexpectedly and a couple are mysteriously tied up with something, on my main computer.I was hoping that this could be possible using something like AutoIt or PowerShell.I asked this question at Superuser.com as well: http://superuser.com/questions/298484/is...tem-wide-keyboard-shortcuts-cu Edited June 19, 2011 by jason404
MrMitchell Posted June 17, 2011 Posted June 17, 2011 Used to be an app called HotKey Detective, Google for it and buy it or search for free alternatives. Not sure how one would do it in AutoIt but something like that sure would come in handy.
Moderators Melba23 Posted June 19, 2011 Moderators Posted June 19, 2011 jason404,This seems to be a good app to get the active keys. But note the comment:Windows does not provide information about what program registered a particular global hotkeySo I do not think you can ever see what app has reserved which hotkey - just the fact that the key is reserved. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
JohnOne Posted June 19, 2011 Posted June 19, 2011 I may be way wrong here, but looking at the RegisterHotKey function"To avoid conflicts with hot-key identifiers defined by other shared DLLs, a DLL should use the GlobalAddAtom function to obtain the hot-key identifier."GlobalAddAtom function seems to suggest that while not returning a list, it is possible to test if a hotkey is already reserved, by returning the same hotkey string tested.I do not however know if you can use an ATOM type in autoit, and of course this post might be totally off the mark. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Moderators Melba23 Posted June 19, 2011 Moderators Posted June 19, 2011 JohnOne,AutoIt already checks if a particular combination of keys is registered when you use HotKeySet. If the combination is already taken then the function returns 0. So you can get a list of used key combinations by trying to run HotKeySet on every possible key combination - although I am of the opinion that this "brute-force" method is far from optimal, it will work! M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
JohnOne Posted June 19, 2011 Posted June 19, 2011 Ah, I see, thanks Melba23. Its probably how that app you linked works. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
jason404 Posted June 20, 2011 Author Posted June 20, 2011 (edited) Thanks for the replies everybody. I had a look at all of those programs. I could not try Hotkey Detective without paying for it, but I suspect that it does the same as some others I have seen, which only show the user-set keyboard shortcuts on start menu and desktop shortcuts. Ethervane ActiveHotkeys seemed pretty good, although it could not give any information on the programs that are using the keys.From looking at these programs I found the correct term for these keys are 'Global Hotkeys', and searching Google found this: Hotkey Commander/Explorer.Hotkey Explorer is the free version, which lists hotkeys and programs, while Hotkey Commander lets you change things, but is not free (free trial). When you start the program, it executes all possible keyboard shortcuts, so it opens a lot of program, including everything in the Win7 taskbar and the Screen Magnifier - so it can make a bit of a mess of your desktop.It looks like this is the program I am looking for - but the problem is that it hangs on my machine after it opens all the programs. I'm using Windows Server 2008 R2, through RDP and no Aero. I'm not sure if it works on Windows7/Server 2008 R2, as the website does not mention it. I have tried Vista and XP SP3 Compatibility Modes so far, but both result in the same hanging.Does it work for anybody else on these operating systems? Edited June 20, 2011 by jason404
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now