- Joined
- Oct 6, 2012
- Messages
- 34
- Reaction score
- 0
I have a folder with a ton of animated gifs. When I open this folder I desire all of the icons to display with the animations cycling. Someone I am unable to contact wrote the following script as a not too fancy, but definitely clean and functioning workaround :
'====================animator.hta=================
<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>
'==============================================
unless someone knows of another utility that will display the win explorer contents as desired, this works for me. However, I would like to know if someone is able to modify this script so that the filenames will also display next (or under/over/inside ...) to the gif.
thnx
'====================animator.hta=================
<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>
'==============================================
unless someone knows of another utility that will display the win explorer contents as desired, this works for me. However, I would like to know if someone is able to modify this script so that the filenames will also display next (or under/over/inside ...) to the gif.
thnx