Property Inspector Macros

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging Project Item Details

After searching and sorting, Property Inspector can select the first, last of group of items in the results programmatically.  PI5 can then export any number of visible result fields to the log file. 

 

This macro will log the item details of the oldest, largest, most clones and most callers to a file:

PI Log C:\Temp\PI Logs\Project Item Details for %NAME.txt

Select None
Sort Date
Select First
Log Oldest Item
PI Logcols Date, Name, Path

Select None
Sort Data Size Desc
Select First
Log Largest Data Item
PI Logcols Data Size, Name, Path

Select None
Sort Total Data Size Desc
Select First
Log Largest Total Size Item
PI Logcols Total Size, Name, Path

Select None
Sort Clones Desc
Select First
Log Most Clones Item
PI Logcols Clones, Name, Path

Select None
Sort Callers Desc
Select First
Log Most Callers Item
PI Logcols Callers, Name, Path

PI Log

Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.0, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
Contributors