Page 2 of 2

Re: type word by click in all keyboards

Posted: Fri Mar 23, 2018 8:01 pm
by Kukurykus
Loll Phil, please ;) Just check pm to me from Nov 29, 2017. You will see there I was let known that it not only copies text to clipboard, but also clears clipboard when only {cb} is used. So it seems saying that 2nd part of sentence was somehow important. And yes, 'clear' word was used in that message, not set ;)

I just thought that may be useful to make others aware they can clear / set to nothing clipboard too. It's certianly intuitive for most of us, but still something to figure out by new users who don't see things in no time if they're not said clearly of.

For example (if I remember old syntax correctly) I used {wait:<1>} longer time, before found by mistake I can use just {wait:1}, and later you told me that is not documented but {wait1} is going to work too.

Re: type word by click in all keyboards

Posted: Fri Mar 23, 2018 11:07 pm
by phil
Kukurykus wrote:
Fri Mar 23, 2018 8:01 pm
Loll Phil, please ;) Just check pm to me from Nov 29, 2017. You will see there I was let known that it not only copies text to clipboard, but also clears clipboard when only {cb} is used. So it seems saying that 2nd part of sentence was somehow important. And yes, 'clear' word was used in that message, not set ;)

I just thought that may be useful to make others aware they can clear / set to nothing clipboard too. It's certianly intuitive for most of us, but still something to figure out by new users who don't see things in no time if they're not said clearly of.

For example (if I remember old syntax correctly) I used {wait:<1>} longer time, before found by mistake I can use just {wait:1}, and later you told me that is not documented but {wait1} is going to work too.
The great thing about English is that you can say the same thing in many many different ways.
Clear and set to nothing are defectively the same thing, but actually, set to nothing is what it does. That just happens to have the impact of clearing the clipboard because when it is set to nothing, it has nothing in it :)

But what it does is physically set the data to NULL, rather than issue a "clear" command which does not exist. So whatever I said was semantically right, but so is what I am saying now :).

Yes, the tags that have a : in them, the : can be left out (because I figured (probably after some questions/bug reports) that some people would do that) and the notation <> was never mean to be put in.. it was supposed to indicate a number or text of your choice.... I don't know why i thought that was a good idea - probably because its fairly common way of expressing that in my experience, but clearly not others!.

I'm not sure what would happen if you put wanted to put :< into the clipboard with {CB:<} lol???!!! - probably it will go bang or maybe just set the clipboard to nothing (or clear it if you prefer) :)

Quite frankly, if I were to write XMBC now, the simkeys would be completely different. - Maybe something more like XML where tags can be opened closed so you could do <ctrl>c</cltr> ... That has some benefits and some disadvantages I guess... But I'm not rewriting it so its a moot point!

Re: type word by click in all keyboards

Posted: Sat Mar 24, 2018 6:26 pm
by Kukurykus
Yes that's physically set data to null (like in Javascript). Clear is just not precised meaning of same action.

Regarding <> I refered it only to {wait:<n>} where n is a numerical value as like I just checked it still works the same way if <> are not used. With other commands I didn't try <>. I understand they shouldn't be used.