FramesCount property
Read-only. The FramesCount returns amount of frames on the specified track.
Delay
(Track)
Parameters
-
Track
-
Optional. The zero-based track number. If omitted, the information about target track will
be retrieved.
Example
This .VBS script displays amount of frames in the gif image.
Set ani = CreateObject("ShotGraph.GifAnimator")
ani.Read filename
framescount = ani.FramesCount(0)
Wscript.echo framescount