Then just look at the hotkey's scope property, like this:
For Each hk In ActiveWindow.Settings2.Effective.Hotkeys
If hk.Scope = scLocal Then
print hk.Key.Name
End If
Next
Aaron
On 10/25/2011 4:28 PM, Jeff Weiss wrote:
Thanks,
But this still yields a list of all of the global hotkeys, and not the
local ones which I defined.
I want to just get the scope local hotkeys which were defined for a
program whose set file is active.
Jeff
*From:*Aaron Smith [mailto:aa...@gwmicro.com]
*Sent:* Tuesday, October 25, 2011 2:52 PM
*To:* gw-scripting@gwmicro.com
*Subject:* Re: scope of hotkeys
On 10/25/2011 3:42 PM, Jeff Weiss wrote:
I have a routine that gets all of the hotkeys in a set file.
How would I modify the below routine to show just local hotkeys?
For Each hk In ActiveSettings.Hotkeys
Try
For Each hk In ActiveWindow.Settings2.Effective.Hotkeys
Aaron
--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.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 GW
Micro Technical Support Team.
--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.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 GW
Micro Technical Support Team.