Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1026797 // Send AI Bar input to speech log

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (4782L/24K).

1  
!7
2  
3  
cmodule SendAIBarInputToSpeechLog > DynPrintLogAndEnabled {
4  
  start {
5  
    dm_onTopInput_q(voidfunc(S s) {
6  
      if (enabled) {
7  
        S info = dm_getTopInputInfo();
8  
        if (!containsWord2(info, "typed")) ret;
9  
        print("Typed (" + info + "): " + s);
10  
        logQuoted(speechRecognitionLog(), now() + " [User typed] " + s);
11  
      }
12  
    });
13  
  }
14  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026797
Snippet name: Send AI Bar input to speech log
Eternal ID of this version: #1026797/6
Text MD5: f10b058b6084337aa36df1812298c6c3
Transpilation MD5: b6edfd79d23a9ebd69d5c0a6ab440170
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-23 15:31:17
Source code size: 370 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 217 / 12534
Version history: 5 change(s)
Referenced in: [show references]