Extended properties
In the last post I showed how to read the Extended Properties of a Visio stencil. But how do we know how which property to use?
We can adapt our script to list the possible Extended Properties
| 001 002 003 004 005
| $direc = "C:\Program Files\Microsoft Office\Office14\Visio Content\1033" $shell = New-Object -ComObject "Shell.Application" $folder = $shell.Namespace($direc) 0..300 | foreach { "$_ $($folder.GetDetailsOf($null,$_))"} |
On Windows 7 I counted 286 properties. Its a long scroll but you will find what you want.