doudou Posted May 16, 2010 Share Posted May 16, 2010 (edited) TypeLibInspector is a property inspector and documentation generator for COM type libraries. Features Display TypeLib information in comprehensible form Choose between OLE Automation/VTable view on dual interfaces Search TypeLib for types, properties, methods Save TypeLib information as XML document Export documentation as HTML Export constants from TypeLib for use in AU3 Support custom export plugins (s. attached examples) TypeLibInspector can use both TLBINF32 and TLI.au3 as its backend (configurable in Tools menu). If nothing different set by user, it first tries to load TLBINF32 and falls back to TLI.au3 if TLBINF32 was not found. The preference for TLBINF32 is because this component is about 4 times faster than TLI.au3 (not surprising - TLBINF32 is native compiled library) but if you plan to export something like COM IDL (f.i. through a custom plugin) you will have to switch to TLI.au3 for TLBINF32 distorts the type information and even drops some of it (to match with its main target: Visual Basic). All application sources are attached, please refer to README.txt for details. Note: to install additional plugin package extract it in TypeLibInspector's "plugins" directory. (Below occurrences of "TypeLibInspector.exe" can be substituted by "AutoIt3.exe PATH_TO_PROJECT\src\au3\TypeLibInspector.au3") Using it with Windows shell If TypeLibInspector finds path to a type library file in the 1st argument of command line, it opens the file: TypeLibInspector.exe C:\Windows\system32\msxml.dll As type libraries can be contained in various type of files (DLL, OCX, EXE etc.), it is not very convenient associating every possible type with TypeLibInspector, I recommend creating a link to it in the SendTo folder. Using it from within PSPad (or other editors) Since version 0.1.0 TypeLibInspector supports custom type queries in the second command line argument. If this parameter specified like: TypeLibInspector.exe C:\Windows\system32\msxml.dll --selectType=@name='IXMLDOMNode' the type library will be opened and the type matching query (if one found) will be highlighted. For working with programming code editors a special feature of TypeLibInspector could be of particular interest: given a ProgID (or class name in terms of ObjCreate()) it can search for associated type library + type system wide. Triggering this function is simple (note "-" in the first argument): TypeLibInspector.exe - --selectType=@progid='Excel.Application' So in PSPad you can create a tool link with settings like Name: TypeInfo Path: TypeLibInspector.exe Parameters: - --selectType=@progid='%SelText%' Highlighting ProgID in the code window and executing the link will open TypeLibInspector displaying the properties of the associated object. I am not familiar with Scite but am sure that these instructions can be easily translated for it too (if you know how, please, be so kind and share your hints here). Version 0.1.1 Compatible with TLI.au3 1.0.8 Compatible with AutoIt 18.104.22.168 Fixed various issues when running on 64 bit system Version 0.1.0 Compatible with TLI.au3 1.0.5 Array type handling improved Added possibility of type search based on custom query at start-up All external types are now linked with their libraries Version 0.0.3 Support for array types added Added possibility to pass parameters to XSLT processor (s. JaCoB Plugin) Plugin output file names made configurable (s. JaCoB Plugin) Version 0.0.2 Navigation history added Support for TLI.au3 v. 1.0.3 added Added encoding declaration in CSS Requirements MSXML2 (shipped with most Windows versions) IE (my respect if you managed to remove it from your system) AutoItObject TLI.au3 (min. 1.0.5) TypeLibInspector_0.1.1.zip TypeLibInspector-0.1.1-sfx.exe TypeLibInspector64-0.1.1-sfx.exe Edited April 15, 2022 by doudou Version 0.1.1 released UDFS & Apps: Spoiler DDEML.au3 - DDE Client + ServerLocalization.au3 - localize your scriptsTLI.au3 - type information on COM objects (TLBINF emulation)TLBAutoEnum.au3 - auto-import of COM constants (enums)AU3Automation - export AU3 scripts via COM interfacesTypeLibInspector - OleView was yesterday Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now