Toggle Special Columns
Posted: 14 Mar 2026 12:53
hey everyone!
I recently discovered the concept of smart columns, and decided to experiment by creating columns for audio, video and image files.
I assigned 3 commands to 3 buttons.
1/
audio files:
2/
image files:
3/
video files:
the idea is that i can toggle these columns on and off by pressing on the buttons.
The problem is that in the case of the video columns, instead of toggling they keep piling on everytime you click on the button.
What am i doing wrong?
(
for anyone who hasn't seen the special columns before:
I used this for inspiration:
https://www.xyplorer.com/release_13.90. ... bleColumns
used this function, to find the column names.
text setcolumns();
)
I recently discovered the concept of smart columns, and decided to experiment by creating columns for audio, video and image files.
I assigned 3 commands to 3 buttons.
1/
audio files:
Code: Select all
setcolumns(":s-audio.length,:s-audio.bitdepth,:s-audio.bitrate,:s-audio.channels,:s-audio.samplerate", 24);
image files:
Code: Select all
setcolumns(":s-image.dimensions,:s-aspectratio,:s-image.datetaken,:s-image.cameramodel,:s-image.isospeed,:s-image.exposuretime,:s-image.focallength", 24);
video files:
Code: Select all
setcolumns(":n-324,:n-322,Custom 7,Custom 10,:s-aspectratio,:n-323", 24);
The problem is that in the case of the video columns, instead of toggling they keep piling on everytime you click on the button.
What am i doing wrong?
(
for anyone who hasn't seen the special columns before:
I used this for inspiration:
https://www.xyplorer.com/release_13.90. ... bleColumns
used this function, to find the column names.
text setcolumns();
)