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).

!7

cmodule SendAIBarInputToSpeechLog > DynPrintLogAndEnabled {
  start {
    dm_onTopInput_q(voidfunc(S s) {
      if (enabled) {
        S info = dm_getTopInputInfo();
        if (!containsWord2(info, "typed")) ret;
        print("Typed (" + info + "): " + s);
        logQuoted(speechRecognitionLog(), now() + " [User typed] " + s);
      }
    });
  }
}

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: 216 / 12532
Version history: 5 change(s)
Referenced in: [show references]