| Newsgroups |
gmane.comp.windows.power-pro |
| Message-ID |
<[email protected]> |
Try the new version, 1.90, of win.dll that is in the file section (not in any subfolder).
If you have issues, please test with new version of echomsg which can handle embedded zero characters in the copydata data. To tell echomsg to check for embedded zeros, the wparam parameter 4 for sendcopydatauni must be 1 (or any non-zero value).
Example:
Clipboard set to
* εγγψabcdefgψцукеψ
Then with new version of echomsg running, issues powerpro command
win.sendcopydatauni("=echomsg",1001,clip.get,1,clip.get[-1]) // need wparam =1 for echomsg
produces what is on the clipboard, except that ψ characters are replaced by # (except for last one) which is how echomsg indicated embedded zero character. Final ψ is meant to generate double zero character at end which most receivers of sendcopy data require in by experience. But if you program uses byte count, then that should not be needed.
Note: clip.get[-1] picks out the last character on clipboard; the [] string selection operators have been updated to work with unicode.
Of course, you don't have to use a unicode character like ψ as a separator; that was just a test. I've also used "\x04" or "9"