Pages: 1
RSS
Inserting a quick template changes keyboard layout, not always, but quite often
 
Hi,

when I insert a quick template in a message, very often (about half of the times I guess), after this the keyboard layout becomes changed.

I use CTRL+SHIFT to switch keyboard layouts, if this matters.
The problem appears both when I type a QT handle and press CTRL+BACKSPACE and when I insert a QT from the menu.
I use TB 3.85.03, the same problem existed in 3.01.33 which I used before, but this happened far less frequently in 3.01. Now it happens very frequently and is extremely annoying as I use QT's a lot.

Any fix?

Thanks
 
Haven't heard this before.

Does Ctrl+Backspace mean that you created a shortcut or is it a typo and do you mean Ctrl+Space, in case it's a shortcut of your own I'd suggest to try whether the problem still exists when you use Ctrl+Space.

You mentioned that it happens half of the times you use a QT. Could it be that it's always the case that the same QTs cause the keyboard shift? If so, do they always cause the same shift? Do they have any macros or characters in common? Do you change the character set with a macro?
What editor are you using in general?
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Thanks Roelof

it was a typo, I use CTRL+SPACE

>Could it be that it's always the case that the same QTs cause the keyboard shift?

No, seems to happen with all QT. My QT are all in English, do not contain macros or whatever special chars (all chars are with ASCII code decimal < 127). None of the QT's contains ">" or "%"

>do they always cause the same shift?

Yes but there is no other way, I only have 2 kbd layouts

>Do you change the character set with a macro?

I have a
%CHARSET="iso-8859-1"
macro in the templates for the new messages and replies (where the problem appears). However I put this recently, the problem appears without this macro as well.

>What editor are you using in general?

I always use the plain text editor, if that's what you mean. If the question is where texts were created, most of them I typed directly into the QT window. Some I pasted from .txt files in ansi format. I've never pasted texts copied from web pages , rich text editors etc.
 
Would that be the plain text windows editor or MicroEd, what happens when you change editors?
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
will have to check, although this is not really an option for me. I'm used with MicroEd and don't want to change it.
 
For change keyboard layout you can use plugin XMP and macro %XMP_KbdLayout:
example:
%XMP_KbdLayout("DE")
%XMP_KbdLayout("EN")
%XMP_KbdLayout("PL")

You can also use macro %XMP_GetLang to automatically recognize language and set-up keyboard layout.
example - answer template:
%XMP_KbdLayout("%XMP_GetLang")%-
%IF:"%XMP_GetLang"="DE":"%CHarset='iso-8859-1'":"%CHarset='us-ascii"%-

XMP plugin you can download from here - http://www.gaijin.at/tbpxmp.php
Pages: 1