04-22-2012 11:24 PM
How does one SSH in?
Just for good measure, I tried "text/url" as well, same result.
04-22-2012 11:31 PM
04-23-2012 12:05 AM
peter9477 wrote:Yeah, I was just catching up to you on that. Same path here. Have you looked in it (via SSH) to see what's there?
This is totally off topic. So you mean one could SSH into the PlayBook? How?
04-23-2012 12:09 AM
Ohhh... thank you.
So now I'm just confused why when I copy text, it should indicate that the text/plain format isn't present in the clipboard. Sounds like you have it all working?
04-23-2012 12:41 AM
04-23-2012 06:37 AM
Oh hey, I didn't realize that you could use the browser to explore the file system. Very cool, thanks!
That solved it... found the right format... I had switched to "text/url" and forgot to switch back to "text/plain", and now everything is working.
It's pretty weird that one has to write:
if (!is_clipboard_format_present(format))
{
...
}
... in the case that the format IS present. But thanks so much for figuring that out.
04-23-2012 07:48 AM
There's probably either something missing from the header file, or you're supposed to use a constant from some other place, like bps/bps.h where BPS_SUCCESS is defined as 0 and BPS_FAILURE as -1:
if (is_clipboard_format_present("text/url") == BPS_SUCCESS)
{
...
}
Or something like that.... presumably the documentation will show that, when it shows up.
04-23-2012 08:06 AM
Ah yes, you're probably right.