larskl
March 26th, 2007, 06:26 PM
Hi,
got some problems with Girder 3 (http://www.promixis.com/forums/showthread.php?p=113188) so I decided to have a look at Girder 4.
One thing I can't make work is disabling certain keys so only the Girder event but not the Windows default event is executed.
In Girder 3 I just added a "On Girder open" action and configured keyboard plugin to replace those keys. But in Girder 4 I can't find any way to do this.
Lars
Promixis
March 27th, 2007, 06:26 AM
Lars,
Right click the Action and select Event. Then select Girder events and use OnScriptEnable.
larskl
March 27th, 2007, 06:51 AM
that only answers how to create an event that fires when loading girder. but what do i have to do to stop the default events for those keys?
Here's what I used in Girder 3.3 with keyboardex.dll:
<Command Name="On Girder open" Identifier="126" Enabled="TRUE">
<StateCount>1</StateCount>
<StateBegin>1</StateBegin>
<StateCurrent>1</StateCurrent>
<StateInvert>FALSE</StateInvert>
<OSD>FALSE</OSD>
<Submatch>FALSE</Submatch>
<Topmost>TRUE</Topmost>
<OneMatch>FALSE</OneMatch>
<UseVar>FALSE</UseVar>
<MatchHidden>FALSE</MatchHidden>
<MatchNum>1</MatchNum>
<ActionType>124</ActionType>
<ActionSubType>1</ActionSubType>
<sValue1>5F0000Z,5FS000Z,7000000,AA0000Z,AA00C0Z,AAS000Z,AB 0000Z,AB00C0Z,ABS000Z,AC0000Z,AC00C0Z,ACS000Z,AD00 00Z,AD00C0Z,ADS000Z,ADS0C0Z,AE0000Z,AE00C0Z,AES000 Z,AES0C0Z,AF0000Z,AF00C0Z,AFS000Z,AFS0C0Z,B00000Z, B000C0Z,B0S000Z,B10000Z,B100C0Z,B1S000Z,B20000Z,B2 00C0Z,B2S000Z,B30000Z,B300C0Z,B3S000Z,B40000Z,B400 C0Z,B4S000Z,B70000Z,B700C0Z,B7S000Z,B7S0C0Z</sValue1>
<bValue1>FALSE</bValue1>
<bValue2>FALSE</bValue2>
<bValue3>FALSE</bValue3>
<EventString Name="EventString" Identifier="127" Enabled="TRUE" Invert="FALSE" Device="18" IrStr="GirderOpen"></EventString>
</Command>
If you have any idea about my Girder 3 crashs I'd appreciate any help there as it seems getting Girder 4 to work the way 3 did is kinda hard.
Promixis
March 27th, 2007, 07:00 AM
No sure what is the problem with G3
The manual covers how to block keys in G4. Press F1
larskl
March 27th, 2007, 07:12 AM
The problem is that the manual isn't very helpful!
I added a "Scripting" action and entered "keyboard.AddBlockedKey("5F0000Z")". Then "tested" to event, so the key should be disabled now. But when I press it the default action is performed.
larskl
March 27th, 2007, 07:51 AM
didn't get it working so far, but now i'm having another problem:
my left shift-key doesn't work outside girder anymore, my enter key sends ctrl+enter, ...
i uninstalled girder, installed it again, didn't load any gmls, still the same issue
I think I'm going to get another app after all that trouble with Girder 4! Girder 3 was a great piece of software but Girder 4 is just hassle
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.