![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Slow script Topic Summary: Date Time script works but very slow Created On: 10/08/2020 11:49 AM Status: Post and Reply |
|
![]() |
![]() |
- Nicolas Holzapfel | - 10/08/2020 11:49 AM |
![]() |
![]() |
- Lunis Orcutt | - 10/08/2020 01:55 PM |
![]() |
![]() |
- speechpro | - 10/09/2020 12:15 AM |
![]() |
![]() |
- Nicolas Holzapfel | - 10/09/2020 05:22 AM |
![]() |
![]() |
- Mav | - 10/09/2020 06:43 AM |
![]() |
![]() |
- Nicolas Holzapfel | - 10/09/2020 09:41 AM |
![]() |
![]() |
- PG LTU | - 10/09/2020 11:39 AM |
![]() |
![]() |
- Nicolas Holzapfel | - 10/09/2020 02:53 PM |
![]() |
![]() |
- Nicolas Holzapfel | - 10/12/2020 04:33 AM |
![]() |
|
Hi I have created this script
Sub Main SendKeys( Format(Now, "dd mmmm yyyy") + Space(1) + "-" + Space(1) + Format(Now, "hh:mm") ) + Space(1) + "-" + " Docteur Nicolas HOLZAPFEL" End Sub
this work fine but it tale 10 second to be written in the dictation box dragon medical 4 works very speed otherwise is it normal ? thank you
regards
nicolas ------------------------- Dr Nicolas Holzapfel |
|
|
|
![]() |
|
Try the following but note that it may take 10 seconds the 1st time you deploy it. This is a Windows bug that is also affecting KnowBrainer 2017 (w/2020 AI Commands). However, when you trigger this command a 2nd time, it should take 2 seconds in Dragon and 1 second in KnowBrainer. Try the following script and please post back with your results:
Sub Main SendKeys( Format(Now, "dd mmmm yyyy") + Space(1) + "-" + Space(1) + Format(Now, "hh:mm") ) + Space(1) + "-" SendKeys " Docteur Nicolas HOLZAPFEL" End Sub ------------------------- Forum Mission Statement |
|
|
|
![]() |
|
Try to create the string separately - see if it makes any difference. Also & to concatenate text vs + |
|
|
|
![]() |
|
Hi
Thank you for your fast reply The two script are working but they take 8-10 sec before writing in dictation Windows Allo when I sens the command morte Times i use windows 10 with the latesd update So I only have to wait a correction bug from Microsoft Until this is corrected I will dictate the date Time name : it is Foster ! Regards Nicolas ------------------------- Dr Nicolas Holzapfel |
|
|
|
![]() |
|
This is very unusual and strange.
Which editor are you sending the keys to? You wrote "dictation box", but do you really mean the build-in dictation box you get when trying to dictate into a not speech-friendly application?
Does the 8-10 second delay happen if you try to insert the date into notepad, for example?
Does it happen if you take out the whole date stuff and just send a short plain text?
Regards, mav |
|
|
|
![]() |
|
Hi
Effective là when I Whitehorse in notepad or rtf document or « éditeur dragon » Thierry date appears instantanely But in the « boite de dictee » it tape 10 seconds Strange.. Thank you Nicolas ------------------------- Dr Nicolas Holzapfel |
|
|
|
![]() |
|
Did you try the Clipboard? And did you try SendSystemKeys (which uses a different way of placing the text output onto a screen)? -------------------------
|
|
|
|
![]() |
|
Thank you for this other script
I will try it at work Monday and give you a reply Regards Nicolas ------------------------- Dr Nicolas Holzapfel |
|
|
|
![]() |
|
Hi
Thank you VERY much for this new script It works fine very fast in all the windows and also in the dictate box Regards Nicolas The good script is : Sub Main Clipboard Format(Now, "dd mmmm yyyy") & " - " & Format(Now, "hh:mm") & " - Docteur Nicolas HOLZAPFEL" SendSystemKeys "{Ctrl+v}" ' you might want to try SendSystemKeys ' SendKeys "^v" ' if still slow comment above and uncomment this line End Sub ------------------------- Dr Nicolas Holzapfel |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2021 FuseTalk™ Inc. All rights reserved.