#!/usr/bin/perl
use strict;
use warnings;

use lib "$ENV{'ARBHOME'}/lib/";
use ARB;

my $gb_main = ARB::open(":","r");
if (not $gb_main) {
  my $error = ARB::await_error();
  die "$error";
}

# recording started @ Thu Sep 25 11:28:01 2014
BIO::remote_action($gb_main,'ARB_NT','old_arb_edit4');
BIO::remote_awar($gb_main,'ARB_NT','focus/configuration','CloTyro3_insert_positions');
BIO::remote_action($gb_main,'ARB_NT','SELECT_CONFIGURATION/START');
BIO::remote_action($gb_main,'ARB_NT','new_window');
BIO::remote_action($gb_main,'ARB_NT','ARB_NT_1/SELECT_A_TREE');
BIO::remote_action($gb_main,'ARB_NT','SELECT_tree_name_1/CLOSE');
BIO::remote_action($gb_main,'ARB_NT','arb_pars');
BIO::remote_action($gb_main,'ARB_PARS','PARS_PROPS/GO');
BIO::remote_action($gb_main,'ARB_PARS','add_marked_partial');
BIO::remote_action($gb_main,'ARB_PARS','quit');
BIO::remote_action($gb_main,'ARB_NT','ARB_NT/SEARCH');
BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/CLOSE');
BIO::remote_action($gb_main,'ARB_NT','ARB_NT/SELECT_A_TREE');
BIO::remote_awar($gb_main,'ARB_NT','focus/tree_name','tree_part');
BIO::remote_action($gb_main,'ARB_NT','arb_pars');
BIO::remote_action($gb_main,'ARB_PARS','PARS_PROPS/GO');
BIO::remote_action($gb_main,'ARB_PARS','add_marked_partial');
BIO::remote_action($gb_main,'ARB_PARS','quit');
BIO::remote_action($gb_main,'ARB_NT','ARB_NT_1/JUMP');
BIO::remote_action($gb_main,'ARB_NT','ARB_NT/SEARCH');
BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/by','0');
BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/SEARCH_spec');
BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/select','CloTyro3');
BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/CLOSE');
BIO::remote_action($gb_main,'ARB_NT','SELECT_tree_name/CLOSE');
BIO::remote_action($gb_main,'ARB_NT','ARB_NT_1/JUMP');
BIO::remote_action($gb_main,'ARB_NT','ARB_NT/JUMP');
# BIO::remote_action($gb_main,'ARB_NT','macros');
# recording stopped @ Thu Sep 25 11:30:14 2014
ARB::close($gb_main);
