How do I set the clipboard text?

0 favourites
  • 3 posts
From the Asset Store
OpenAI TTS
$10 USD
Text-to-Speech plugin.Allows your Construct 3 project to convert written text into spoken words
  • I have tried returning the contents of NWjs.ClipboardText every frame but it doesn't return anything. Its as if NWjs: Set clipboard text to Text.PlainText doesnt actually do anything. ANy ideas? Here is the code..

    + System: On start of layout

    -> SpeechRecognition: Request speech recognition (language "en", Continuous mode, Interim results)

    + SpeechRecognition: On speech recognition result

    -> Text: Set text to SpeechRecognition.InterimTranscript

    + System: Every tick

    -> NWjs: Set clipboard text to Text.PlainText

    -> ClipboardText: Set text to "Clip="&NWjs.ClipboardText

    Thanks

    Construct 3 version: r171.3

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • It works for me in desktop version of C3. It won't work in browser I guess.

    Also, press F12 and check if there are any errors in Console log.

  • No errors in the log. I also made a build to test it but the whole speech recognition stopped working completely.

    :(

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)