![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Display the Vertical and Horizontal Sizes of a .JPG File
|
||
Set objPlayer = CreateObject("WMPlayer.OCX" )
Set colMediaCollection = objPlayer.mediaCollection Set objPhotos = colMediaCollection.getByAttribute("MediaType", "photo") For i = 0 to objPhotos.Count - 1 Set objPhoto = objPhotos.item(i) Wscript.Echo "Name: " & objPhoto.Name Wscript.Echo "Height: " & objPhoto.getItemInfo("WM/VideoHeight") Wscript.Echo "Width: " & objPhoto.getItemInfo("WM/VideoWidth") Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |