Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Paste text from clipboard

Author
Message
JRNTexas
12
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 30th Apr 2017 16:44
I'm trying to paste a URL into my app but, TextInput and EditBox don't seem to accept what is in the Clip Board.
GameDevGuy
8
Years of Service
User Offline
Joined: 18th Jul 2015
Location:
Posted: 1st May 2017 09:01
Unfortunately, last time I checked the system clipboard is not supported.

Even if it wasn't directly supported in the TextInput and EditBox controls, at the very least it would be nice to have a few commands that give direct access and then you could roll your own Copy and Paste keyboard actions.

I know someone will suggest Tier 2, but it would still be wonderful if the clipboard was supported in Tier 1 on the appropriate platforms.
BatVink
Moderator
20
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 1st May 2017 10:34
It would be possible for somebody to create a plugin to do this.
You would then need to code the detection of <CTRL>-V
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 1st May 2017 17:39
heres a small windows only plugin for getting/setting clipboard text

Attachments

Login to view attachments
GameDevGuy
8
Years of Service
User Offline
Joined: 18th Jul 2015
Location:
Posted: 2nd May 2017 12:35
Thank you PartTimeCoder.

I have not yet made the time to check out the plugin system, your small, but very useful clipboard DLL is a great example of the potential.

Cheers,
Scott.

Login to post a reply

Server time is: 2024-03-19 06:06:37
Your offset time is: 2024-03-19 06:06:37