Page 32 of 41

Re: Scripting Bugs

Posted: 30 Apr 2015 18:04
by admin
:whistle: :cup:

Re: Scripting Bugs

Posted: 03 Aug 2015 22:17
by bdeshi
get('copieddata', token=3) is suposed to return the received data, but stops at the first | inside data.

Re: Scripting Bugs

Posted: 03 Aug 2015 22:21
by highend
Probably because it expects "|" as a delimiter like in "0: hWndSender|dwData|Data"?

Re: Scripting Bugs

Posted: 04 Aug 2015 00:32
by PeterH
Did you really code it this way?

I think it should be get('copieddata', 3), shouldn't it?

Re: Scripting Bugs

Posted: 04 Aug 2015 04:49
by bdeshi
help says token 3 is supposed to return the Data portion, like a gettoken() with flag 2.

Re: Scripting Bugs

Posted: 04 Aug 2015 09:48
by admin
SammaySarkar wrote:get('copieddata', token=3) is suposed to return the received data, but stops at the first | inside data.
Confirmed. Fix comes. Thanks!

Re: Scripting Bugs

Posted: 04 Aug 2015 11:04
by bdeshi
:tup:

Re: Scripting Bugs

Posted: 04 Aug 2015 11:33
by PeterH
Hm - now even Don writes it this way... So just to verify - is it:
get('copieddata', token=3)
or
get('copieddata', 3) :?:

Re: Scripting Bugs

Posted: 04 Aug 2015 12:09
by admin
I just quoted that casual way. It has to be written like this:
get('copieddata', 3)

Re: Scripting Bugs

Posted: 04 Aug 2015 13:02
by PeterH
:tup: :om: :cup:

Re: Scripting Bugs

Posted: 05 Aug 2015 08:05
by bdeshi
Peter, what if I typed it like that just to annoy you? :mrgreen:

Re: Scripting Bugs

Posted: 05 Aug 2015 10:58
by PeterH
SammaySarkar wrote:Peter, what if I typed it like that just to annoy you? :mrgreen:
I'm not annoyed in any way :naughty: :D

But I think many people are reading here - and I just want to avoid that they learn token=3, when XY in general doesn't use keyword operands, but only positional, and so you have to write 3

So this was nothing but the wish to get the verification for get('copieddata', 3)

Just again: not annoyed, nothing personal, no other thing but getting it (= the expression) right.
And the just-after-breakfast-list :tup: :cup: :om:

Re: Scripting Bugs

Posted: 09 Sep 2015 20:45
by bdeshi
copydata cannot send empty strings.

Code: Select all

copydata <hwnd>, 'string'; text get('copieddata', 3);copydata <hwnd>, ''; text get('copieddata', 3);

Re: Scripting Bugs

Posted: 10 Sep 2015 09:42
by admin
Fixed in v15.70.0111.

Re: Scripting Bugs

Posted: 10 Sep 2015 18:01
by bdeshi
admin wrote:
SammaySarkar wrote:xyplorer's copydata cannot send empty strings...
You could have told me that. :) Next version it can.
I know, sorry. (it was critical to get that working asap :ghost: )