(1) specify the sequence number ranges for the templates to be used in
the structural alignment within 'salign.py'?
or
(2) specify the sequence number ranges for the template or target to be
used in the sequence alignment within the script 'align2d_mult.py'?
Of course - both of these are straightforward.
For (1), just specify model_segment when you read in the model. The
example you mention reads a whole chain for each PDB, but you can read
whatever you like, e.g.
and so on... This makes an alignment of residues 1-34 from 'foo.pdb'
against residues 3:A to 95:B from 'bar.pdb'.
For (2), you can give the residue range in the alignment file header.
See http://salilab.org/modeller/manual/node176.html. The example there
reads residues 1-106 for the 5fd1 structure, and 1-54 for the 1fdx sequence.