Right click some table in the toolbox, and choose one of the "Script as..." menu items, and a new tab pops up with default script to get you started. I usually type "ctrl a" to select all, and then immediately type "s" because I plan to type "select foo from bar etc..." But what happens is it pops up the save-as dialog box. You need to close it and then it also hijacks the uppercase/lowercase "s" and "S" for some reason, so you need to close the tab and try again.
http://stackoverflow.com/questions/6510972/how-do-you-prevent-the-vs-shell-from-getting-priority-on-key-command-bindings-in/6514867#6514867
http://stackoverflow.com/questions/6510972/how-do-you-prevent-the-vs-shell-from-getting-priority-on-key-command-bindings-in/6514867#6514867