How to Run a script by Default?

Hello, I have written a short script, lets say called “MyScript” and it resides in a text window in Blender. I checkmark “Register”, the text became internal. When I load my .Blend I have to click RunScript, how can I make it to run when the blend is launched? ( automatically )

Thanks

Sorry I read something on the net, solved. Simply I must add the .py to the name and it will run :slight_smile:
Preferences also has Autorun script checkmark box.

Thanks