Python Scripting plugin was created in order to help users create more complex measurements.
The software tool is available. Please contact author.
Python Scripting Manual