KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Vocola and Autohotkey
Topic Summary:
Created On: 12/09/2020 09:29 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Vocola and Autohotkey   - dougransom - 12/09/2020 09:29 PM  
 Vocola and Autohotkey   - dougransom - 12/16/2020 08:07 AM  
 Vocola and Autohotkey   - PG LTU - 12/16/2020 12:17 PM  
 Vocola and Autohotkey   - dougransom - 02/10/2021 08:33 PM  
Keyword
 12/09/2020 09:29 PM
User is offline View Users Profile Print this message

Author Icon
dougransom
Power Member

Posts: 47
Joined: 03/02/2017

This doesn't do what I hoped. I was trying to makea vocola command send "isodate" keystrokes to be picked up bya running autohotkey script.I appear to be missing something.


 From my _vocola.vcl isodate = AHK("Send idate"); #send to the idate authotkey

 

From my loaded autohotkey

::idate:: FormatTime, isodate, , yyyyMMdd SendInput % isodate return

 

 

 



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

Doug Ransom

 12/16/2020 08:07 AM
User is offline View Users Profile Print this message

Author Icon
dougransom
Power Member

Posts: 47
Joined: 03/02/2017

solution:

 

isodate = idate{space};



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

Doug Ransom

 12/16/2020 12:17 PM
User is offline View Users Profile Print this message

Author Icon
PG LTU
Top-Tier Member

Posts: 2134
Joined: 03/21/2007

the other way is to use the prefix code to make a hotstring terminator unnecessary:
:*:idate:: FormatTime, isodate, , yyyyMMdd SendInput % isodate return

https://www.autohotkey.com/docs/Hotstrings.htm#Options



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




PG





Remember folks, my comments and this forum are for entertainment value only, please, no wagering or other reliance on the contents herein.  I permit no commercial use of my ideas (whether expressions or embodiments) without my written consent.



 02/10/2021 08:33 PM
User is offline View Users Profile Print this message

Author Icon
dougransom
Power Member

Posts: 47
Joined: 03/02/2017

Thanks that is a good tip.  i have many hotkeys I can use that with.   



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

Doug Ransom

Statistics
31981 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 0 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 483 guests browsing this forum, which makes a total of 483 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2021 FuseTalk™ Inc. All rights reserved.