Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with TS Menu and Word2000
#1
This is a TS Menu entry :
TS Menu MyTS Menu
Trigger $t "`"     Help - how to add the trigger to the macro
Code:
Copy      Help
1 :'"Best Personal Regards[][]Simos" ;;Best Personal Regards

If called from within a Word-2000 file, then the following obviously mistaken text is entered :

St rsona gards

imos


No problem in other editors, ie Notepad.

Please advise,
Regards
Simos
#2
Maybe interferes with Word autocorrection features. I Word itself changes text as QM is sending. Try to turn off Word autocorrect/autotext or remove some words.
I cannot test with Word 2000. With Word 2003 and 97 worked well, except when interferes with Word autocorrection.
#3
Dear Gintaras,

Many thanks, as always. I had already tested Autocorrection off, I imagined about it, it did not work. I will try to further investigate it.

Regards, Simos
#4
1. How if this code runs from a macro?
2. Is the same with low-level and non low-level keyboard hook? You can change it in QM Options->Triggers.
#5
does this happen when doing it in Notepad or anywhere else or is it just Word?
An old blog on QM coding and automation.

The Macro Hook
#6
1. If run from a macro using "key" yes, it is the same.

2. If run from a macro using "outp" no problem, perfect.

3. Yes, it is the same with low-level and non low-level keyboard hook.

4. No just word. No problem with Notepad, Outlook Express, Excel, Wordpad.

Best regards
#7
Try this
Macro Macro1688
Code:
Copy      Help
opt keychar 1
'"Best Personal Regards[][]Simos"
#8
I am sorry, it did not work.
#9
How if slower?

opt slowkeys 1
spe 200
key "...."

Also can try
opt keysync 1

_______________________

If have Spy++, look what keyboard messages Word document control receives then. All or not.
#10
Yes, they both worked perfectly !

What comes next is "How can I insert opt keysync 1 in TS Menu ?
#11
Better paste through clipboard.
... :"text"
And look in Options/General, hybrid paste must be unchecked. Also use low level keyboard hook.
I'll try to fix it.

--------------

Please also test how works with
opt keysync 2
and with
opt keysync 3

--------------

You said with opt keychar 1 doesn't work. Does it work the same as without, or does not add any text in Word?
#12
Dear Gintaras,
Thanks.

opt keysync 2 it does not work
opt keysync 3 it does not work

"It does not work" means it works the same as without, ie. some of the output characters are lost.
#13
Dear Gintaras,

I am sorry, but I have again the same problem with greek (unicode) characters. No problem when using opt keysync 1 in each TS Menu line, namely :

Autotext MyTS Menu
Trigger $t "`"     Help - how to add the trigger to the macro
Code:
Copy      Help
σσ :opt keysync 1;'"Σίμος Σιμόπουλος"

Best regards, Simos
#14
I cannot fix it. Will need a workaround. Currently there are 2 ways:
1. Add opt keysync 1 in each line.
2. Use hybrid paste. Then sends keys as if with opt keysync 1.

Autotext Autotext6
Trigger $t     Help - how to add the trigger to the macro
Code:
Copy      Help
σσ :'"Σίμος Σιμόπουλος" ;;sends keys
σσ :"Σίμος Σιμόπουλος" ;;sends keys as if with opt keysync 1. However uses clipboard if text is long or contains newlines. Also look in Options, must be checked Hybrid paste.

Next QM will have an option to set some initial opt values (keysync etc). Then will not need to edit autotexts. It is already implemented, I can upload new QM if you want it now.
#15
Dear Gintaras,

Many thanks for having dealt with this minor problem. I can manage it as it behaves at present. However, I believe that this new QM version which it will have an option to set some initial opt values will be superb. I am looking forward to trying it, when uploaded.

Best regards.
#16
{deleted post}

Function init2
Code:
Copy      Help
RTOPTIONS x
x.opt_autotext.keysync=1
;x.opt_menu_toolbar.keysync=1
;x.opt_macro_function.keysync=1 ;;don't. Will be less reliable.
RtOptions 64 x
#17
Many thanks. Congratulations for this new QM release. Last, but not least, very beautiful new QM systray icon!
Gintaras, all the best!


Forum Jump:


Users browsing this thread: 1 Guest(s)