How to use a startup script

Sometimes you would like GT to configure some settings or load your personal projects, every time you start a fresh instance of GT. This is very simple. Just create a file called startup.st containing the Smalltalk code you want executed, and put it in the same folder as the GT image.

Here's a sample script that you can adapt:

"This is a sample startup script. It will be run whenever you start up a GT image. 
Put whatever you like in here."

"Show explicit references in compact form."
LePageToolContentTreeElement showIncomingReferencesInlined.

"Scale up the UI."
BlGlutinHostSpace zoomFactor: 1.2.

"Load my startup repo, if it's not already loaded."
Smalltalk globals
	at: #BaselineClassName
	ifAbsent: [ Metacello new
			repository: ''.
		Smalltalk saveSession ].
  

NB: Whenever you download a fresh GT image or build it from scratch, you need to add the startup script to the GT folder before launching it the first time.