Creating Column Images with Script

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Native2904
Posts: 26
Joined: 23 Apr 2025 18:48
Location: Aachen

Creating Column Images with Script

Post 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 1207 times
XYplorer_UsU1OXvnEw.png
XYplorer_UsU1OXvnEw.png (18.64 KiB) Viewed 1207 times
I changed the value of the Colour in the Script from 0971CE to FF0000 but noting changed -, the picture stays hide?
Glückauf

highend
Posts: 14431
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Creating Column Images with Script

Post by highend »

<xyicons> in the template?...
One of my scripts helped you out? Please donate via Paypal

Native2904
Posts: 26
Joined: 23 Apr 2025 18:48
Location: Aachen

Re: Creating Column Images with Script

Post by Native2904 »

Yesss- that is it.
Glückauf

Native2904
Posts: 26
Joined: 23 Apr 2025 18:48
Location: Aachen

Re: Creating Column Images with Script

Post 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 1182 times
XYplorer_Hq2rVZffJ4.png
XYplorer_Hq2rVZffJ4.png (5.66 KiB) Viewed 1182 times
notepad++_s62W7dwvwN.png
notepad++_s62W7dwvwN.png (152.01 KiB) Viewed 1182 times
Glückauf

highend
Posts: 14431
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Creating Column Images with Script

Post 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
One of my scripts helped you out? Please donate via Paypal

Native2904
Posts: 26
Joined: 23 Apr 2025 18:48
Location: Aachen

Re: Creating Column Images with Script

Post 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 1153 times
Last edited by Native2904 on 17 Jun 2025 21:27, edited 1 time in total.
Glückauf

highend
Posts: 14431
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Creating Column Images with Script

Post 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 1148 times
One of my scripts helped you out? Please donate via Paypal

Post Reply