none
hta script to display animated GIFs in a folder RRS feed

  • Question

  • Dear Community,

    in the Windows 7 Forum I found a working hta script to display animated GIFs located in a folder.

    Sorry, but I can't give you the link of the source, as my post would get flagged as spam.

    Here is the hta script:

    <html><head><title>Animator</title></head>
    <body><script type="text/vbs">
    set fso=CreateObject("Scripting.FileSystemObject")
    set fldr=fso.GetFolder(".")
    for each file in fldr.files
    if lcase(right(file.name,4))=".gif" then
    document.write "<img src=""" & file.name & """>"
    end if
    next
    </script></body></html>

    Is there any way to modify this script, so it can not only display and animate GIFs of the folder where the hta file is located, but also include every subfolder in this folder?

    Best regards,

    urs19

    Tuesday, September 18, 2018 8:29 PM

All replies