Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Display  the  Vertical  and  Horizontal  Sizes  of  a  .JPG  File  

 Content of Display the Vertical and Horizontal Sizes of a .JPG File.vbs
MD5 Hash: 7DAD4A7314E0CE033EE4F678EA904E15
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 ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a