You can't do this through Query Analyzer (that i know of) you can, however, do it through enterprise manager.
Go into Enterprise manager and right click on the database that has the stored procedures you want to script, right click go to the 'All Tasks' menu and select generate SQL Script.
On the window that pops up, press the 'Show All' button and check the All Stored Procedures check box. Click ok and you have a script that will generate all of your stored procedures.
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
^^Thats my signature