Problem with <clipboard>?

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Problem with <clipboard>?

Post 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

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Problem with <clipboard>?

Post by admin »

All works fine here. There must be another explanation.

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Problem with <clipboard>?

Post by armsys »

Hi avsfan
::text "<clipboard>";
works fine even with my AceText running in background.

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Re: Problem with <clipboard>?

Post 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.

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Re: Problem with <clipboard>?

Post 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...

Post Reply