Micahs wrote:
There is now. The latest version has it.
To have the key caption be the phrase sent, use:
Code:
<key function="KeyPhrase">Hello</key>
To have a longer phrase than can be displayed in the caption, use:
Code:
<key function="KeyPhrase" phrase="Hello, how are you?">Hello</key>
This will send a phrase instead of just a single character. Any questions, give a holler.
I found a minor bug. If you use KeyPhrases, it messes up "Enter" so that the system types "Enter" instead of pressing enter. This seems to happen only the first time you hit enter.
Here is a sample .xml filr to reproduce the bug
Code:
<language name="Numeric Keypad">
<traymenu>
<command value="show">Show</command>
<command value="hide">Hide</command>
<command value="settings">Settings</command>
<command value="fastStrings">FastStrings</command>
<command value="hotStrings">HotStrings</command>
<command value="about">About</command>
<command value="exit">Exit</command>
</traymenu>
<layout margin="5 5 5 5" basekeyheight="40" basekeywidth="30" keyspacing="5" spacebeforesinglechars="1" backcolor="0x96CBCB">
<font size="10" justify="left" color="0x96CBCB">Arial</font>
<header x="-5" y="-5" height="20" width="auto">
<text x="2" y="5" dragger="1">AHKOSK NumPad</text>
</header>
<row>
<key width="30">Enter</key>
<key function="KeyPhrase">ml</key>
</row>
</layout>
</language>