Copying message text into clipboard instead of stdout
Moderator: Forum Moderators
-
- Posts: 17
- Joined: February 11th, 2012, 2:14 pm
Copying message text into clipboard instead of stdout
How can we copy the messages into the clipboard instead of into stdout.txt using lua?
See also http://forums.wesnoth.org/viewtopic.php ... 74#p520741
See the main idea http://forums.wesnoth.org/viewtopic.php ... 74#p520726
See also http://forums.wesnoth.org/viewtopic.php ... 74#p520741
See the main idea http://forums.wesnoth.org/viewtopic.php ... 74#p520726
- Elvish_Hunter
- Posts: 1576
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: Copying message text into clipboard instead of stdout
You can't. Lua does not have any function to handle the clipboard.toclipboard wrote:How can we copy the messages into the clipboard instead of into stdout.txt using lua?
Current maintainer of these add-ons, all on 1.16:
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
-
- Posts: 17
- Joined: February 11th, 2012, 2:14 pm
Re: Copying message text into clipboard instead of stdout
Would not it be possible to add a SetClipboard feature into Wesnoth?