Problem with <clipboard>?
Posted: 30 Jul 2013 08:00
Hi,
I had a little script that would get the SVN version number of a file and then copy that file with the right version number in the name of the new file. For example, file.txt would be copied to file-v201.txt. It was working fine, and has stopped working.
As I looked at the code, it became apparent that XY isn't reading the clipboard correctly. For example, if I just highlight text, copy it, and then paste it to another application, it pastes just fine (showing me that the text is actually in the clipboard). However, if I type into the address bar in XY
::text "<clipboard>";
I get nothing at all in the output window (which is also what I get in my script when it tries to read the clipboard -- an empty clipboard). However, the text still exists in the clipboard, as I'm still able to paste it into another application.
Is anyone else seeing <clipboard> not behaving correctly?
Win 7 Pro x64, XY 12.70.0005, both with my regular ini and with /fresh -- same problem.
Thanks!
andy
I had a little script that would get the SVN version number of a file and then copy that file with the right version number in the name of the new file. For example, file.txt would be copied to file-v201.txt. It was working fine, and has stopped working.
As I looked at the code, it became apparent that XY isn't reading the clipboard correctly. For example, if I just highlight text, copy it, and then paste it to another application, it pastes just fine (showing me that the text is actually in the clipboard). However, if I type into the address bar in XY
::text "<clipboard>";
I get nothing at all in the output window (which is also what I get in my script when it tries to read the clipboard -- an empty clipboard). However, the text still exists in the clipboard, as I'm still able to paste it into another application.
Is anyone else seeing <clipboard> not behaving correctly?
Win 7 Pro x64, XY 12.70.0005, both with my regular ini and with /fresh -- same problem.
Thanks!
andy