And here Doug complains that two Aaron don't make a whole.  Geez.

AaronK

On 10/25/2011 4:41 PM, Aaron Smith wrote:
There you go: two ways to skin this cat. Doug forgot that each hotkey
has a scope property, and I forgot that Effective has a scope
collection. <grin>

Aaron

On 10/25/2011 4:36 PM, Doug Geoffray wrote:
Jeff,

Actually what Aaron gave you will give you the same results as what
you had (smile). If you do the following in Immed you only get local
hotkeys:

Set x = ActiveWindow.Settings2.Effective.Hotkeys
Set y = ActiveWindow.Settings2.Effective.Scope.Hotkeys
For i = 1 to y.count: if y(i).Scope = scLocal then print
x(i).Description : next

This will only output the hotkeys which are local.

Doug

On 10/25/2011 3:51 PM, Aaron Smith wrote:
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.


Reply via email to