Page 1 of 1

Put back Get/SetClipboardData()

Posted: Sun Jan 17, 2016 7:55 am
by Dude
I needed these today but GetClipboardData() and SetClipboardData() have been silently removed! They were added in v3.00 (http://www.purebasic.com/news22.php) so when did they go? The history in the help manual doesn't say, and they're no longer in the manual either:

http://www.purebasic.com/documentation/ ... index.html

:( Please put them back. My old source is now broken without them.

Re: Put back Get/SetClipboardData()

Posted: Sun Jan 17, 2016 8:07 am
by Demivec
Dude wrote:I needed these today but GetClipboardData() and SetClipboardData() have been silently removed! They were added in v3.00 so when did they go? The history in the help manual doesn't say, and they're no longer in the manual either:
They were taken out in v4.00.

Re: Put back Get/SetClipboardData()

Posted: Sun Jan 17, 2016 8:09 am
by Dude
Demivec wrote:They were taken out in v4.00.
Damn, why? It's not even mentioned: http://www.purebasic.com/news48.php

Re: Put back Get/SetClipboardData()

Posted: Sun Jan 17, 2016 8:20 am
by Demivec
Dude wrote:
Demivec wrote:They were taken out in v4.00.
Damn, why? It's not even mentioned: http://www.purebasic.com/news48.php
Maybe they were affected as part of this:
- Updated: Many library commands

Re: Put back Get/SetClipboardData()

Posted: Sun Jan 17, 2016 8:25 am
by Dude
:(

Re: Put back Get/SetClipboardData()

Posted: Sun Jan 17, 2016 11:30 am
by freak
These commands only worked with images anyway, but were not very convenient at that (GetClipboardData() only returned an ImageID, not a real PB image). So they were renamed to Get/SetClipboardImage() and improved to better integrate with the rest of PB.

These commands were only very thin API wrappers, so at least for windows, they should be easy to replicate with API directly: https://msdn.microsoft.com/de-de/librar ... 49051.aspx

Re: Put back Get/SetClipboardData()

Posted: Sun Jan 17, 2016 11:59 am
by Dude
freak wrote:they were renamed to Get/SetClipboardImage()
Thanks for the explanation, freak. I see Rashad has responded to another post of mine about it, so I think all will be well. :)