The macro run_seq allows to run a sequency of macros listed in an file. The name of the file containing the macro list has to be given as argument to the macro. The MS environment variable SequencyPath holds the directory where the sequence file is to be found. The macros are listed in exactly the same way they are typed in the spock command line, e.g.:
p09/door/exp [0]: senv SequencyPath /home/p99user/temp p09/door/exp [1]: run_seq seq_file.txt
whith seq_file.txt:
wh ascan exp_mot01 1.1 1.2 10 1 mv exp_mot02 2.1 3.2 mv exp_mot03 10 20