All of the Hotkeys should have a description, as they're the same
Hotkeys that you find in the Window-Eyes UI.
Aaron
On 2/8/2012 9:53 AM, Sean Farrow wrote:
Thanks both, I'll take a look at that.
Do all in built hotkeys have a description?, I am needing something to
output in a user interface, and description is the only thing I can
see that would work.
By in built I mean hotkeys in the Hotkeys collection?
Cjheers
Sean.
*From:*Aaron Smith [mailto:aa...@gwmicro.com]
*Sent:* 08 February 2012 14:32
*To:* gw-scripting@gwmicro.com
*Subject:* Re: Hotkeys and activeWindow queries
The GWToolkit's HotkeyManager object attempts to track down key
duplicates, so you could examine that source for inspiration.
Aaron
On 2/8/2012 9:27 AM, Doug Geoffray wrote:
You'll just have to loop through all the lists. By the way, it is
Hotkeys.GetDuplicates, not Hotkey.GetDuplicates. So you could use
this method to compare against all the hotkeys. But there isn't a
single magic method that takes these three objects and returns
conflicts. But you can certainly do this yourself. It is just grunt
work.
Doug
On 2/8/2012 9:17 AM, Sean Farrow wrote:
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 <mailto: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.
--
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.