[TC 11.50 ß5] %$CLIPBOARD% inserts the text between %$ and % instead of clipboard content

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
macleod
Junior Member
Junior Member
Posts: 86
Joined: 2016-06-12, 07:32 UTC

[TC 11.50 ß5] %$CLIPBOARD% inserts the text between %$ and % instead of clipboard content

Post by *macleod »

On TC 11.50b5 x64, Windows 10 or 11 x64 all in Czech language:

when I create such a button
Image: https://www.dropbox.com/scl/fi/6yc2uvzwtpr2qmtw2cck8/Clipboard-1.jpg?rlkey=t94uip4vziefz0mzk1h6692m4&st=iydt332s&dl=0,
copy this link https://www.youtube.com/watch?v=5a4Q8eIqMdU (for example) to the clipboard, and use the button,
i get this
Image: https://www.dropbox.com/scl/fi/r3diev20fehq8whkkug1d/Clipboard-2.jpg?rlkey=yyexewba0zx4rmeg5xsbcoawr&st=uluvjyxn&dl=0.
Same way it works with %$CLIPBOARD% and other new virtual variables.

It seems that TCb5 inserts text between %$ and % instead of clipboard content.

The same result I get without the question mark, but it is slightly harder catchable ;-)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50 ß5] %$CLIPBOARD% inserts the text between %$ and % instead of clipboard content

Post by *ghisler(Author) »

Not a bug:

You cannot use %variable% in the parameters field because it collides with placeholders like %P%N.
Instead you need to use %|variable| like this:
%|$CLIPBOARD|
Author of Total Commander
https://www.ghisler.com
macleod
Junior Member
Junior Member
Posts: 86
Joined: 2016-06-12, 07:32 UTC

Re: [TC 11.50 ß5] %$CLIPBOARD% inserts the text between %$ and % instead of clipboard content

Post by *macleod »

Sorry, my bad. Didn't know this.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50 ß5] %$CLIPBOARD% inserts the text between %$ and % instead of clipboard content

Post by *ghisler(Author) »

Moderator message from: ghisler(Author) » 2024-11-08, 09:22 UTC

Moved to English forum
Author of Total Commander
https://www.ghisler.com
Post Reply