scripting:api:application:register-code-template