Paste (event)
From ComputerCraft Wiki
Revision as of 12:02, 20 June 2014 by Bomb Bloke (Talk | contribs) (Created page with "{{Event |name=char |desc=Fired when Ctrl + V is pressed on the keyboard, assuming pastable text exists in the system clipboard. The clipboard accessed belongs to the OS within...")
![]() | |
Fired when Ctrl + V is pressed on the keyboard, assuming pastable text exists in the system clipboard. The clipboard accessed belongs to the OS within which MineCraft itself is running. Prior to ComputerCraft 1.6, instead of queuing a "paste" event Ctrl + V triggers a series of character events representing the tex. Either way, only the first line of text is returned: subsequent content after the first line break is not accessible. Note that Ctrl + V generates no events at all if the clipboard does not contain pastable text - the key combo itself is invisible to ComputerCraft scripts, and only the "result" can be seen. | |
Returned Object 1 | string system clipboard text |