Starting with version 8.0, CVI now has the ability to record and playback keyboard macros that contain most types of actions that one would want to automate. However, it still does not offer a script language that you could program yourself. It simply translates your keyboard actions into its own script (and it shows you the actual steps), but it does not let you write the script directly.
But you could definitely use it to insert boilerplate code, as you described.
If we receive additional requests like yours, and this feature receives a lot of use, we'll consider enhancing it to allow more programming flexibility.
Luis
NI