Can I specify a "Last window" condition


#1

I want to set up BetterTouchTool to quit an application when i close the last window of the application. For example if I had 3 Chrome windows open, clicking the red x would close only that window, however if there was only 1 Chrome window clicking the red x would exit chrome completely. Anyway to do this?