Jump to content

Recommended Posts

Posted

Hi

within the properties of every file there is a summary tab. it would be very useful if i could retrieve any information from the section. is there a way to do this please.

I have looked through the helpfile and found a FileGetShortcut command which sort of does this but only for short cuts.

Posted

You should use ExtProp.au3 (Get it HERE)

Here's an example code (it gets the w and h of a video):

#include "ExtProp.au3"

$file = "c:\video.wmv";change this with the location of the file

$w = _GetExtProperty($file,27)
$h = _GetExtProperty($file,28)
$d = _GetExtProperty($file,21)

MsgBox(32,"File Info","File : " & $file & @CRLF & @CRLF & "Width : " & $w & @CRLF & "Height : " & $h & @CRLF & "Duration : " & $d)
  • 3 years later...
  • 3 weeks later...
Posted

Hallo Limiter and weaponx,

Thank You for Your answers and the example code.

But now I also need SET the extended properties.

Can You help here too?

Fulgor

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...