Page 1 of 1

Problem with <clipboard>?

Posted: 30 Jul 2013 08:00
by avsfan
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

Re: Problem with <clipboard>?

Posted: 30 Jul 2013 08:55
by admin
All works fine here. There must be another explanation.

Re: Problem with <clipboard>?

Posted: 30 Jul 2013 13:23
by armsys
Hi avsfan
::text "<clipboard>";
works fine even with my AceText running in background.

Re: Problem with <clipboard>?

Posted: 30 Jul 2013 16:26
by avsfan
This is really strange. Not only can I not paste into the address bar, but if I try to paste anywhere in XY, it pastes in an empty string. For example, if I highlight the word "paste" that I just typed, then paste it in this post, it pastes just fine (also in other apps). However, if I start to rename a file and press ctrl-v while the base is highlighted, everything that's highlighted is deleted. Time to reboot and try again, I think...

I thought it might be Listary causing the problem, as I had an issue earlier trying to use XY's TAF (I hadn't realized I needed to disable TAF in Listary -- once I did that, it all worked great). However, even after exiting Listary, the problem persists.

Very strange, indeed.

Re: Problem with <clipboard>?

Posted: 30 Jul 2013 20:17
by avsfan
Update: Immediately after a reboot, things worked, but now the gremlins are back, and it doesn't work again... The strangest thing is that it's ONLY XY that's affected by this...