Sorry,
I think the comment lines were mine. Try searching for the global hotkey code, and then you can change it if you want a local hotkey.
Jeff Weiss


----- Original Message ----- From: "Vic Beckley" <[email protected]>
To: "GW Scripting List" <[email protected]>
Sent: Wednesday, June 22, 2011 4:33 PM
Subject: RE: Advanced hot key topics


Hi again Jeff,

I just examined an app that I created just recently with the WEScript
Framework app. There are no comments that I could find that state global- or
program-specific. It has the keys all registered separately and uses the
ClientInformation.ApplicationProcess parameter to limit the keys to the
current program. So if you wanted certain keys to be global, you could just
change that to " nothing".

Vic


-----Original Message-----
From: Vic Beckley [mailto:[email protected]]
Sent: Wednesday, June 22, 2011 4:34 PM
To: '[email protected]'
Subject: RE: Advanced hot key topics

Hi Jeff,

Thanks a lot. I guess I didn't examine the created stuff enough. The only
thing is I like to use ClientInformation.ApplicationProcess instead of the
overlap.

Vic


-----Original Message-----
From: Jeff Weiss [mailto:[email protected]]
Sent: Wednesday, June 22, 2011 4:19 PM
To: [email protected]
Subject: RE: Advanced hot key topics

This can be done in the We Script FrameWork Wizzard.
Here are the two choices for either global hotkeys or local hotkeys:

' use for global registered hotkey
Set registeredHotkeys("Key01") =
Keyboard.RegisterHotkey(SO_HotkeyManager.Key("Key01"),
SO_HotkeyManager.Data("Key01"))

' use below for an application specific hotkey
Set registeredHotkeys("Key01") =
Keyboard.RegisterHotkey(SO_HotkeyManager.Key("Key01"),
SO_HotkeyManager.Data("Key01"), ClientInformation.Overlap)

Note: There is only one line under each comment.  They may get split in
the email.

Jeff Weiss


-----Original Message-----
From: Vic Beckley [mailto:[email protected]]
Sent: Wednesday, June 22, 2011 2:53 PM
To: GW Scripting List
Subject: Advanced hot key topics

Chip,

Have you covered the advanced hot key topics. I know you mentioned it in
an
early class, class 10 I think, but I can't find any reference to it
later. I
haven't been able to listen to all your classes, though.

The problem I am having is that it seems the WEScript Framework makes
all
the hot keys global. I want to limit them to a specific application that
the
app is associated with. What is the easiest way to do this.

Thanks for any help on this and your classes are great.

Vic



Reply via email to