Re: [BLACKBOX] Windows 7 and the ClipBoard

From: [at]} <Wojtek>
Date: Wed, 27 Feb 2013 10:24:01 -0500

----boundary-LibPST-iamunique-458914655_-_-
Content-type: text/plain

Bernard;

I routinely use Edit->Paste special. A dialog opens and I select "Plain
text". I do not know if it is going to solve this particular problem.

It is a matter of choosing whether it is more ergonomic to go via this
dialog, or to spend time removing the unwanted extra stuff from the BB
text.

I bet one can dig into BB sources to find out how the "plain text" option
works, and then implement a shortcut to automate this feature. I have no
plans of doing it myself. I just keep using the dialog.

Hope it helps,

Wojtek

> When inserting pure text from the clipboard into a BlackBox text I get the
> string enriched by (in this case useless) formatting information.
>
> E.g.: I type in a "pure text" formatted message in Outlook 2010 (to be
> exact: 14.0.6129.5000, 32bit) the following: Bla, select it, and Ctrl-C it
> to the Clipboard, the I open a new window in BlackBox and Ctrl-V the
> clipboard contents, and I get:
> PrFont34Bin0BinSub0Frac0Def1Margin0Margin0Jc1Indent1440Lim0Lim1Bla
>
> Does anybody know how to get rid of this behavior or to use it with
> similar options as in Word 2010 (same Version number as Outlook); in Word
> a transient option offers to use the "insert mode" for pure text or two
> different ways to handle the formatted text.
>
> A quick scan in MSDN got me lost in OLE ...
>
> Browsing from BlackBox Menus to BlackBox source finds:
>
> HostCmds.Paste -> HostClipboard.GetClipView ->
> WinOle.OleIsCurrentClipboard followed by WinOle.OleGetClipboard and
> OleData.GetTextDataView
>
> Regards
> --
> Bernhard
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
> LISTSERV{([at]})nowhere.xy
>
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-458914655_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGZiaWRpcyBcZGVmZjB7XGZvbnR0YmwN
CntcZjBcZnN3aXNzIEFyaWFsO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RsZSB0aGUgZm9ybWF0dGVkIHRleHQuXHBhcg0KPlxwYXINCj4gQSBxdWljayBzY2Fu
IGluIE1TRE4gZ290IG1lIGxvc3QgaW4gT0xFIC4uLlxwYXINCj5ccGFyDQo+IEJyb3dzaW5nIGZy
b20gQmxhY2tCb3ggTWVudXMgdG8gQmxhY2tCb3ggc291cmNlIGZpbmRzOlxwYXINCj5ccGFyDQo+
IEhvc3RDbWRzLlBhc3RlICAtPiBIb3N0Q2xpcGJvYXJkLkdldENsaXBWaWV3IC0+XHBhcg0KPiAg
ICAgICBXaW5PbGUuT2xlSXNDdXJyZW50Q2xpcGJvYXJkIGZvbGxvd2VkIGJ5IFdpbk9sZS5PbGVH
ZXRDbGlwYm9hcmQgYW5kXHBhcg0KPiBPbGVEYXRhLkdldFRleHREYXRhVmlld1xwYXINCj5ccGFy
DQo+IFJlZ2FyZHNccGFyDQo+IC0tXHBhcg0KPiAgIEJlcm5oYXJkXHBhcg0KPlxwYXINCj5ccGFy
DQo+IC0tLS1ccGFyDQo+IFRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkg
IlNJR05PRkYgQkxBQ0tCT1giIHRvXHBhcg0KPiBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0hccGFy
DQo+XHBhcg0KPlxwYXINClxwYXINClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2Vu
ZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNU
Uy5PfX0AAAAAAAAAUQcAALjH
----boundary-LibPST-iamunique-458914655_-_---
Received on Wed Feb 27 2013 - 16:24:01 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:54 UTC