Middle truncation toggle?

Discuss and share scripts and script files...
Post Reply
Kucera
Posts: 98
Joined: 31 Mar 2008 01:37
Location: Canada
Contact:

Middle truncation toggle?

Post by Kucera » 08 Jul 2020 19:43

Hello,
middle truncation comes extremely handy to me, but to make it even more useful, would like to have Custom Toolbar Button, to be able to quickly switch to and from the truncation. Is there a #xxx command that I could use to (hopefully) make me one, or would anyone have a script solution?
Regards Emil

nas8e9
Posts: 2148
Joined: 21 Jun 2008 14:50

Re: Middle truncation toggle?

Post by nas8e9 » 08 Jul 2020 23:49

Scripting has a

Code: Select all

setting
command which supports a subset of XYplorer's settings, but not Truncate filenames in the middle.

There is no command ID for this setting, unfortunately.

mazot
Posts: 6
Joined: 20 Apr 2020 23:19

Re: Middle truncation toggle?

Post by mazot » 10 Jul 2020 00:06

Here is a little script which maybe what you are looking for.
Only drawback it has to do a restart ,on my m/c takes approx 5 secs.
MidTruncate.xys
(249 Bytes) Downloaded 23 times

admin
Site Admin
Posts: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Middle truncation toggle?

Post by admin » 10 Jul 2020 22:45

Thanks for the script! :tup:

When the 64-bit version is finished, remind me to add this feature. I like it.
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

mazot
Posts: 6
Joined: 20 Apr 2020 23:19

Re: Middle truncation toggle?

Post by mazot » 12 Jul 2020 22:29

Was interested by viewtopic.php?f=3&t=21944&sid=420b1aba0 ... 12f346d065 found that toggle only works on 'Name' column

Post Reply