On Monday, 22 June 2020 at 10:26:12 UTC, aberba wrote:
It would be a one-liner if it was an api. Such utility APIs are
quite missing in D.
Um, You are right.
How about putting them together into a package?
Well, this is an inspiration to me. Let me try. :)
On Saturday, 20 June 2020 at 19:39:56 UTC, Vinod K Chandran wrote:
On Saturday, 20 June 2020 at 13:46:05 UTC, Dennis wrote:
Thanks a lot. Well, i thought it should be a one liner like-
Clipboard.SetText(sText)
But after reading your reply, i realized that this is D, not a
scripting language.
On Saturday, 20 June 2020 at 13:46:05 UTC, Dennis wrote:
Thanks a lot. Well, i thought it should be a one liner like-
Clipboard.SetText(sText)
But after reading your reply, i realized that this is D, not a
scripting language. :)
On Saturday, 20 June 2020 at 13:32:22 UTC, Vinod K Chandran wrote:
I would like to know how to get & set text in clipboard. I am
using windows machine.
This is an example of setting the clipboard using the Windows API
in D:
```
/// Returns: true on success
bool setClipboard(string str) {
Hi all,
I would like to know how to get & set text in clipboard. I am
using windows machine. Thanks in advance.
--Vinod Chandran