AngelofDeath Posted June 23, 2010 Share Posted June 23, 2010 (edited) Edited November 28, 2010 by AngelofDeath Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 24, 2010 Share Posted June 24, 2010 Please don't do that. Removing queries on the forum makes later searches less valuable. Another user might be looking for the same thing at a future date. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Authenticity Posted June 24, 2010 Share Posted June 24, 2010 expandcollapse popup#cs CustomProperties: Add(ByVal sPropName As String, ByRef Value As Object) As CustomProperty Count() As Integer Item(ByVal Index As Object) As CustomProperty CustomProperty: Name() As String Remove() Type() As dsoFilePropertyType Value() As Object #ce ; dsoFilePropertyType Local Enum $dsoPropertyTypeUnknown, _ $dsoPropertyTypeString, _ $dsoPropertyTypeLong, _ $dsoPropertyTypeDouble, _ $dsoPropertyTypeBool, _ $dsoPropertyTypeDate ; Local Enum Step *2 $dsoOptionDefault = 0, _ $dsoOptionOnlyOpenOLEFiles = 1, _ $dsoOptionOpenReadOnlyIfNoWriteAccess, _ $dsoOptionDontAutoCreate, _ $dsoOptionUseMBCStringsForNewSets $dso = ObjCreate("DSOFile.OleDocumentProperties") ; Open(ByVal sFileName As String, Optional ByVal ReadOnly As Boolean = False, Optional ByVal Options As DSOFile.dsoFileOpenOptions = dsoOptionDefault) $dso.Open(@ScriptDir & "\filename.xml", False) ; Add(ByVal sPropName As String, ByRef Value As Object) As CustomProperty $dsoCustomProp = $dso.CustomProperties.Add("MyProc", "MyValue") ConsoleWrite($dsoCustomProp.Name & @TAB & $dsoCustomProp.Value & @CRLF) ; Close(Optional ByVal SaveBeforeClose As Boolean = False) $dso.Close() For standard properties (summary properties), it's possible to get only those that are recognized by the library. Retrieving the width summary of an image is not possible. You'll have to create a custom property for that. How does the system is able to retrieve this information then? I guess that using shell and file extension interfaces. lol I don't know what I'm talking about... '] 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