vickerps Posted March 4, 2008 Share Posted March 4, 2008 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. Link to comment Share on other sites More sharing options...
LIMITER Posted March 4, 2008 Share Posted March 4, 2008 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) Link to comment Share on other sites More sharing options...
weaponx Posted March 4, 2008 Share Posted March 4, 2008 Here is another called GetFileProperty: http://www.autoitscript.com/forum/index.ph...getfileproperty Link to comment Share on other sites More sharing options...
fulgor Posted March 7, 2011 Share Posted March 7, 2011 (edited) I have my post canceled Edited March 7, 2011 by fulgor Link to comment Share on other sites More sharing options...
fulgor Posted March 23, 2011 Share Posted March 23, 2011 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now