CopyTextA : I don't get it
Posted: 09 Feb 2008 15:08
Don't have much time right now, but i was reading the changelog and there's something I don't understand. But first, me likes that source argument for move/copy/backup commands ! 
Okay, now about this :
I read that and I went What, why!? No really, not that I was in love the the optional argument "a" (though I liked it) but I don't understand, I could copy "one, two, three" just fine already, all I had to do was to use the command made for that : sep
::sep ;::copytext one, two, three
Now you start doing this, why not do it for new or moveto or any other command, I mean what if i want to use coma+blank inside an argument there ? I know that's what ::sep is for, but that's my point!
Isn't this getting things a little confusing, because it's not that when there are no more arguments, then the coma+blank gets seen as part of the last one, it's only a "special feature" for some commands... so now people won't be used to use the sep command and might think it's fine to use coma+blank on their text, yet that won't do what they expect:
::inputfile $file, D:\, rar;zip, Choose an archive, either a RAR or a ZIP file
Just my 2cts...
Okay, now about this :
Code: Select all
* Scripting command changed/added:
- CopyText, CopyTextA
The 2nd optional argument "a" for append has been dropped.
Reason: Allow the text argument to contain commas (argument
separators) without problems (see next paragraph).
(...)
- CopyText, CopyTextA, Msg
Now the text argument can contain commas+blanks without
problems. They will not be confused with argument separators.
Example:
::copytext one, two, three
Copies "one, two, three" to the clipboard. ::sep ;::copytext one, two, three
Now you start doing this, why not do it for new or moveto or any other command, I mean what if i want to use coma+blank inside an argument there ? I know that's what ::sep is for, but that's my point!
Isn't this getting things a little confusing, because it's not that when there are no more arguments, then the coma+blank gets seen as part of the last one, it's only a "special feature" for some commands... so now people won't be used to use the sep command and might think it's fine to use coma+blank on their text, yet that won't do what they expect:
::inputfile $file, D:\, rar;zip, Choose an archive, either a RAR or a ZIP file
Just my 2cts...