How to submit work at the end of a textivate homework sequence

This post explains how to submit your work at the end of a textivate sequence.

(This post relates to textivate sequences, available to users with Premium or Group subscriptions, where students submit their work using the teacher's username plus the shared student password.)

At the end of an activity sequence, exactly what happens (and in what order) depends on whether or not you are already logged in to textivate...