Here are a few lines from the WE framework generated script with lines
for both global and local hotkeys:

 

If Not registeredHotkeys Is Nothing Then

If registeredHotkeys.Count > 0 Then

registeredHotkeys.RemoveAll

End If

End If

 

' use for global registered hotkey

Set registeredHotkeys("Key01") =
Keyboard.RegisterHotkey(SOHotkeyManager.Key("Key01"),
SOHotkeyManager.Data("Key01"))

 

' use below for an application specific hotkey

' Set registeredHotkeys("Key01") =
Keyboard.RegisterHotkey(SOHotkeyManager.Key("Key01"),
SOHotkeyManager.Data("Key01"), ClientInformation.Overlap)

 

End If

End Sub

 

Hope this helps,

Jeff Weiss

 

 

From: Ralf Kefferpuetz [mailto:[email protected]] 
Sent: Tuesday, March 02, 2010 9:07 AM
To: [email protected]
Subject: changing local hotkeys to global - GWMicro framework

 

Hello,

I used the GWMicro framework to create my script skeleton and I choosed
to be all hotkeys to have a local state. After filling the skeleton I
found that I wanna use the hotkeys globally. I went through the script
and could not find the declaration for global or local hotkey state.

Any idea how to change it?

 

best regards,

  Ralf

Reply via email to