Copy/paste from Windows clipboard into game

Started by cat, Tue 13/02/2018 12:34:20

Previous topic - Next topic

cat

Is it somehow possible to paste text from the clipboard into the game? Is there a plugin that can do this?

(Edit: Clarified subject. -Snarky)

Slasher

Editor can paste text content of clipboard into Editor Labels, Speech etc etc..

Unless you mean something else?

cat

No, I mean while playing pasting text into a textbox, for example.

Crimson Wizard

Not built-in, no.
I believe that would be possible to write plugin for that.

Snarky

Just as an FYI: This was something we were talking about for the AGS Awards client. It would be a cool functionality to have, but I don't have the bandwidth or technical experience with plugins to implement it myself. If someone wants to make a plugin for it, that would be highly appreciated! I imagine it as a plugin with one or two APIs: String Clipboard.PasteText() to get the content of the clipboard into the game, and optionally bool Clipboard.CopyText(String text) to get text from the game onto the clipboard. This also leaves the option to extend it to graphics in the future.

Snarky


SMF spam blocked by CleanTalk