What is the best way of picking up duplicates? Will Hotkey.GetDuplicates work 
to pick up cursor keys/registered keys or have I got to do this myself?
Essentially what I'm looking for is a list of all 
hotkey/CursorKey/RegisteredHotkeyts with out any duplicates.
Cheers
Sean.

From: Doug Geoffray [mailto:geoff...@gwmicro.com]
Sent: 08 February 2012 13:29
To: gw-scripting@gwmicro.com
Subject: Re: Hotkeys and activeWindow queries

Sure, I could have a set file and define a keystroke as a hotkey, also define 
it as a cursor key and also define it in some running App.

Doug

On 2/7/2012 5:38 PM, Sean Farrow wrote:
Sorry, if I have a setfile.hotkeys, setfile.CursorKeys and 
keyboard.registeredHotkeys collection will any of these contain duplicate 
definitions?
Cheers
Sean.

From: Doug Geoffray [mailto:geoff...@gwmicro.com]
Sent: 07 February 2012 22:29
To: gw-scripting@gwmicro.com<mailto:gw-scripting@gwmicro.com>
Subject: Re: Hotkeys and activeWindow queries

ActiveSettings is the union of global and the current set.  It is exactly what 
the application is using.

I'm not following you last comment.

Doug

On 2/7/2012 5:00 PM, Sean Farrow wrote:
Hi Aaron:
Is there a way of getting the union of all global and all app specific hotkeys? 
I've already got cursor/hotkeys defined by RegisterHotkey. I'm assuming that 
neither of them are included in the hotkeys collection-please, correct me if 
I'm wrong as this will make for quite a bit of coding later.
Cheers
Sean.

From: Aaron Smith [mailto:aa...@gwmicro.com]
Sent: 07 February 2012 21:51
To: gw-scripting@gwmicro.com<mailto:gw-scripting@gwmicro.com>
Subject: Re: Hotkeys and activeWindow queries

Sean,

To get the global hotkeys, you'll want the global, rather than effective, 
property. Effective means the hotkeys that are defined at the time that you get 
them, which could differ from program to program.

And, yes, ActiveWindow is the last window that got activation, which is 
typically the foreground window.

Aaron

On 2/7/2012 3:33 PM, Sean Farrow wrote:
Hi:
If I access the hotkeys object from a settings2 efective property, will this 
give me global hotkeys or do I need to use the Global property to get these?
Also can I assume that the Application.ActiveWindow is returning the foreground 
window?
Cheers
Sean.





--

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