How do I copy to clipboard using Html5? NW.js not works

0 favourites
  • 3 posts
From the Asset Store
A complete set of graphical user interface (GUI) to build 2D video games. Suitable for casual games
  • I can set the clipboard using NW.js for win/mac/linux but not work in browsers.

    Is there any way to set the clipboard on HTML5 ?

    I want that when a button is clicked set the clipboard from elements i want like:

    Browser.URL&"/?shadercode="&ShaderCode.Text

    That give:

    http:// websomething/?shadercode=4|2|3|1.25|0.25|1.5|0.75|1.2|1.2|-1.2|1.6|0.25|1.25|16|0.5|0.5|1.5|1.5|1|1|3|6|1.5|4|0|3

    With that you can share your creation inside a browser.

    I thought the plugin Browser had this option but not :S .

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you could always set a the text of a text-box object to : Browser.URL&"/?shadercode="&ShaderCode.Text

    The user would than be able to select and copy the text himself..

  • you could always set a the text of a text-box object to : Browser.URL&"/?shadercode="&ShaderCode.Text

    The user would than be able to select and copy the text himself..

    Yes, is already what i have

    So, there is no option to get the link in the clipboard in html5?

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