Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Customize default templates
-
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.
-
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).
-
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.
-
@JonB You could even make a "Apply default template" script that detected the file extension
-
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