Creating Column Images with Script

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Native2904
Posts: 132
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_UsU1OXvnEw.png
I changed the value of the Colour in the Script from 0971CE to FF0000 but noting changed -, the picture stays hide?
You do not have the required permissions to view the files attached to this post.
Lts. 64-bit XY-Port. ƒ JetBrainsMono @ Windows 11 Pro 24H2 ▣ 1920x1080 ⇵ 115%
Glückauf

highend
Posts: 14924
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: 132
Joined: 23 Apr 2025 18:48
Location: Aachen

Re: Creating Column Images with Script

Post by Native2904 »

Yesss- that is it.
Lts. 64-bit XY-Port. ƒ JetBrainsMono @ Windows 11 Pro 24H2 ▣ 1920x1080 ⇵ 115%
Glückauf

Native2904
Posts: 132
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_Hq2rVZffJ4.png
notepad++_s62W7dwvwN.png
You do not have the required permissions to view the files attached to this post.
Lts. 64-bit XY-Port. ƒ JetBrainsMono @ Windows 11 Pro 24H2 ▣ 1920x1080 ⇵ 115%
Glückauf

highend
Posts: 14924
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: 132
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
You do not have the required permissions to view the files attached to this post.
Last edited by Native2904 on 17 Jun 2025 21:27, edited 1 time in total.
Lts. 64-bit XY-Port. ƒ JetBrainsMono @ Windows 11 Pro 24H2 ▣ 1920x1080 ⇵ 115%
Glückauf

highend
Posts: 14924
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
You do not have the required permissions to view the files attached to this post.
One of my scripts helped you out? Please donate via Paypal

Post Reply