You can do that with the QuartzBuilder protocol. Use /Developer/Library/Quartz Composer/Templates/QuartzBuilder.qtz as a starting point (copy and modify).
There's three ways to quit without the template, and two are built in.
By default, Command W or Command Q will make a Quartz Builder app close.
Also, if you choose "Advanced Settings" and then check "(esc) to quit", pressing the escape key will cause the app to close as well.
None of the above need the template, but if you want custom control, you can hook something to the "Should Terminate" input on the App Outputs macro on the Quartz Builder template that jstrecker is referencing.
You can do that with the QuartzBuilder protocol. Use /Developer/Library/Quartz Composer/Templates/QuartzBuilder.qtz as a starting point (copy and modify).
For details: http://kineme.net/FeatureRequests/QuartzBuilderEsckeyexitoption
There's three ways to quit without the template, and two are built in.
By default, Command W or Command Q will make a Quartz Builder app close.
Also, if you choose "Advanced Settings" and then check "(esc) to quit", pressing the escape key will cause the app to close as well.
None of the above need the template, but if you want custom control, you can hook something to the "Should Terminate" input on the App Outputs macro on the Quartz Builder template that jstrecker is referencing.