Hi,
I'm using Keyman for a Indic Script where the sequence of typing and the sequence of characters actually store on computers had much differented. So, I need to implement even for Backspace (Delete) using Keyman Developer Language. For example of my code,
any(characters) any(characteradditions) u+200b + [K_BKSP] > index(characteradditions,2) u+200b
+ [K_BKSP] > beep
like that. so, when you delete, any character from the characters group will deleted and characteradditions and u+200b (ZWNJ) will remain.
My code works perfectly in debug mode and even running on Keyman. but the problem occurs when ... I type some characters and then switched to another application (using ALT+TAB) or by mouse and back to application I typed before, I cannot delete any characters...
I wonder what had happened... I'm using KeyMan 6.2.171 with WinXP SP1...
VOX
Topic Keyman and Delete
We have two new locations for Keyman technical support:
- SIL Keyman Community - for general Keyman technical support
- Stack Overflow - for support on creating keyboard layouts with Keyman Developer
The Tavultesoft Forums are now read only.
# Keyman and Delete 2005-12-05 14:52:16.000 | |
---|---|
VOX | |
# Re: Keyman and Delete 2005-12-06 06:24:15.000 | |
mcdurdin Tavultesoft Staff | [quote="VOX"]Hi,
My code works perfectly in debug mode and even running on Keyman. but the problem occurs when ... I type some characters and then switched to another application (using ALT+TAB) or by mouse and back to application I typed before, I cannot delete any characters... I wonder what had happened... I'm using KeyMan 6.2.171 with WinXP SP1... VOX[/quote] Hi Vox, You have discovered one of the limitations of working with legacy applications. Unfortunately, there is no resolution to this issue for legacy applications as Keyman has to keep track of what the application has in its context buffer. When the user clicks the mouse, or switches applications, the position of the cursor can change, so Keyman has to clear its context buffer. For newer applications that support Text Services Framework (such as Microsoft Word 2002 or later), Keyman Standard Edition is able to track the context and your code should work correctly. This behaviour is only available when the Text Services Framework addin is installed in Keyman Standard Edition. Finally, I would advise updating to the latest version of Keyman, as it corrects a number of bugs. Kind Regards, Marc Durdin Tavultesoft Pty Ltd |
# 2005-12-07 12:22:14.000 | |
VOX | Hello,
I'd updated to Keyman Standard Edition and what i found out is the same result. So, I confirmed that MSTSF Addin is installed with it. and Test like this 1. Opened MS Word 2003 2. Open previously typed (with the same keyboard) document. 3. Activate the Keyboard. 4. And I cannot delete the words. One thing is that I'm not using registered version of Keyman standart. Just evaluation. So, is there any limition of TSF in evaluation ? So, to sum up. Keyman donot actually know the strings of active text input area but he store what had previously typed in them in it's own buffer. Right? unless TSF. So, we must use TSF surely for complex scripts and complex publications. so, how do we know which application support TSF? I'm truely wish KeyMan to be perfect not only for my own use, but also, because it's the one. The only one software to do complicated keyboards in simple way. No comparable product. Thanks You, VOX |
# Re: 2005-12-13 06:26:04.000 | |
mcdurdin Tavultesoft Staff | Hi Vox,
Sorry for the delay in replying. [quote="VOX"] One thing is that I'm not using registered version of Keyman standart. Just evaluation. So, is there any limition of TSF in evaluation ? [/quote] The TSF addin will work in the evaluation. Note that you must select the TSF keyboard through the language bar interface (this is unfortunately a limitation of Windows TSF support) - and not through the normal Keyman icon. If you click the keyboard icon in the language bar, you should see Tavultesoft Keyman in the menu. Select this, and a new button will appear on the language bar, called Tavultesoft Keyman. From here, you can select your Keyman keyboard. [quote="VOX"] I'm truely wish KeyMan to be perfect not only for my own use, but also, because it's the one. The only one software to do complicated keyboards in simple way. No comparable product. [/quote] Thanks for the vote of confidence! Marc Durdin Tavultesoft Pty Ltd |
# re 2005-12-13 11:10:52.000 | |
VOX | Hi,
TSF works now. Seems it's response is slow when doing complex contexs... is it usual? BTW, is there no any other way to get the text from active control? Not by means of TSF on supported software? I think it might not perfect(100% bug free) if we need everything to be stored on buffer and process them. And Only office applications support TSF as far as I know... This is upsetting.. I know something about Mac OS text framework and they work in almost any application. ... Can I develop Keyman like software (which can read Keyman sources ) for Mac OS ? Because I know no software in Mac OS X can give key input facilities as Keyman can give... I want to fill the blank... thanks, VOX |
# Re: re 2005-12-18 03:59:08.000 | |
mcdurdin Tavultesoft Staff | [quote="VOX"]TSF works now. Seems it's response is slow when doing complex contexs... is it usual?[/quote]
That's a bit strange - I have found that TSF tended to be faster than the other input methods. It may depend on the application. [quote="VOX"]BTW, is there no any other way to get the text from active control? Not by means of TSF on supported software? I think it might not perfect(100% bug free) if we need everything to be stored on buffer and process them. And Only office applications support TSF as far as I know... [/quote] There are very few apps that support TSF at this stage - some are starting to appear now. It is a complex API unfortunately, so that tends to slow implementation down a bit. [quote="VOX"]This is upsetting.. I know something about Mac OS text framework and they work in almost any application. ... Can I develop Keyman like software (which can read Keyman sources ) for Mac OS ? Because I know no software in Mac OS X can give key input facilities as Keyman can give... I want to fill the blank...[/quote] As long as you write 100% of the code in a clone program for Mac OS X yourself (and don't take any from Keyman), there is no reason why you couldn't - however, it would be a fair bit of work! Have a look at http://kmfl.sourceforge.net/ Regards, Marc Durdin |
# thanks 2005-12-18 16:05:22.000 | |
VOX | hello again,
I don't know what's wrong with my PC. TSF is slow. Let it be however and I'll test it again on fresh Windows XP pc. I want to know why is it slow. TSF is complex for sure. it's bad. Apple's TSF is simple. And of course I will not stole any source code from Keyman (because I don't have it :P) writing for Mac OS X. I know about KMFL. You and SIL develop it right? So, I just want to fill the gap with KMFA (KeyMan for Apple) ;) and promise it to be OpenSource too. And By the way, I found a way for Keyman to support Contax in Legacy applications. (i.e. to get the string from active edit control without key buffer or direct memory mapping or TSF). Don't want to say it in public forum. Where can i contact you? :) My email is htoomyintnaung _at@at_gmail_dot.dot_com yours, VOX |