On 10/11/2016 at 08:10, xxxxxxxx wrote:
Hi,
This has annoyed me for years.
When we select File->New in the script manager. We get this default text:
import c4d
from c4d import gui
#Welcome to the world of Python
def main() :
gui.MessageDialog('Hello World!')
if __name__=='__main__':
main()
That helps people new to Python. But it quickly becomes very annoying having to delete things like "Welcome to the world of Python" and "gui.MessageDialog('Hello World!')" every freakin' damned time you make a new script.:angry:
Same thing goes for the text in the pytag.
I would reeaaallllyyy like to replace that default text with my own default text. This should be an option in the preferences.
I tried to see if could find where this text was hidden in the program files. But I couldn't find it.
Does anyone know where this text is in the files? Or is it hard coded and out of our reach?
-ScottA