Following on from this (and the main reason for the above change;) ZAP extensions can now specify the file extensions they can handle by extending the
http://code.google.com/p/zaproxy/source/browse/trunk/src/org/parosproxy/paros/extension/CommandLineListener.java interface.
So you will now be able to open ZAP with a ZAP session file (the *.session one) and any scripts that are supported (JavaScript, Zest etc).
For ZAP to be shown on the relevant right click menus will require some per OS configuration.
My plan is to implement this in the Windows installer and then document it for linux and Mac OS.
Simon