Yes, you can do this. It would go something like: Set newKey = Keyboard.Capture Set regKeys = Keyboard.RegisteredHotkeys For Each key In regKeys If key.Key = newKey Then ' You've got a duplicate End If Next
The GWToolkit attempts to use this logic to check for duplicate hotkeys when using its HotkeyManager object. Aaron -- Aaron Smith Web Development * App Development * Product Support Specialist Ai Squared * 725 Airport North Office Park, Fort Wayne, IN 46825 260-489-3671 * www.aisquared.com To insure that you receive proper support, please include all past correspondence (where applicable), and any relevant information pertinent to your situation when submitting a problem report to the Ai SquaredTechnical Support Team. > -----Original Message----- > From: Jonathan C. Cohn [mailto:jon.c.c...@gmail.com] > Sent: Monday, September 15, 2014 11:04 PM > To: gw-scripting@gwmicro.com > Subject: Re: Global Scripts and HotKeys > > Can one check for conflicts with the RegisteredHotKes class? I have never > reviewed what this class provides and I certainly would not know if it is > universal or App dependent. >