Page 1 of 1

Creating Column Images with Script

Posted: 17 Jun 2025 16:10
by Native2904
Hi,

working/playing again with your Tutorials, and there is one that I don't get to work.

Tried to generate Waveform Pictures to implemented to a Custom Column with this Script, with the how-to from.

The Script work and I become all Pictures, but that they are not visible in the Columns as Pictures but as link to them…
XYplorer_rbfrPWEyUU.png
XYplorer_rbfrPWEyUU.png (148.54 KiB) Viewed 1603 times
XYplorer_UsU1OXvnEw.png
XYplorer_UsU1OXvnEw.png (18.64 KiB) Viewed 1603 times
I changed the value of the Colour in the Script from 0971CE to FF0000 but noting changed -, the picture stays hide?

Re: Creating Column Images with Script

Posted: 17 Jun 2025 16:20
by highend
<xyicons> in the template?...

Re: Creating Column Images with Script

Posted: 17 Jun 2025 16:27
by Native2904
Yesss- that is it.

Re: Creating Column Images with Script

Posted: 17 Jun 2025 16:55
by Native2904
one more small question, i commented the out :

Code: Select all

//$color  = "FF0000"; // Hex value

to get a Stereo waveform and changed the string to:

Code: Select all

$cmd = lax("$ffmpeg" -i \"$item\" -y -lavfi showwavespic=split_channels=1:s=$size:scale=$scale:colors=FF0000|00FF00 \"$dst\"");
But the waveforms are only visible on Dark-modus.
XYplorer_6UNvQjbPeu.png
XYplorer_6UNvQjbPeu.png (8.31 KiB) Viewed 1578 times
XYplorer_Hq2rVZffJ4.png
XYplorer_Hq2rVZffJ4.png (5.66 KiB) Viewed 1578 times
notepad++_s62W7dwvwN.png
notepad++_s62W7dwvwN.png (152.01 KiB) Viewed 1578 times

Re: Creating Column Images with Script

Posted: 17 Jun 2025 17:44
by highend
Do they look red & green? No^^

You can't simply use FF0000|00FF00 in a batch file command line call, the "|" needs to be escaped: FF0000^|00FF00

Re: Creating Column Images with Script

Posted: 17 Jun 2025 19:31
by Native2904
Sorry, if i too stupid for this simple things (and this problem is not a very important one) … but never mind what colours I take... the Picture stay the same not visible, but they are in the wanted colours.
vivaldi_QmLy31nfmz.png
vivaldi_QmLy31nfmz.png (100.94 KiB) Viewed 1549 times

Re: Creating Column Images with Script

Posted: 17 Jun 2025 19:38
by highend
Show a part of the .bat file in %TEMP% that the script has created, 40 lines are enough.
Animation.gif
Animation.gif (247.25 KiB) Viewed 1544 times