Forum Archive

Customize default templates

lukaskollmer

Is there a way to edit the file templates?

I know that I can add custom templates using the Templates folder, but I'd like to automatically add a copyright message with my name, the filename and the current date at the beginning of the file.

omz

No, that's not possible. You'd have to create your own file templates if you want to insert a standard copyright message, but you couldn't insert the current date automatically (that's a neat idea though, I'll think about that).

JonB

another option would be to create a script that adds the info to the top of the current file. You would run via the wrench menu.

Webmaster4o

@JonB You could even make a "Apply default template" script that detected the file extension

Phuket2

I also followed @JonB suggestion to write a one liner to stop rogue ui.delay scripts, with a wrench script that just called ui.cancel_delays() 😜👍 was actually the most straight forward way