#!/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 @ Fri Apr 11 15:48:14 2014
BIO::remote_action($gb_main,'ARB_NT','ARB_NT/SEARCH');
BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/field_sel_spec_0');
BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/key_0','ambig');
BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/field_sel_spec_0');
BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/key_0','name');
BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/query_0','a*');
BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/field_sel_spec_0');
BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/key_0','ambig');
BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/by','1');
BIO::remote_awar($gb_main,"ARB_NT","tmp/dbquery_spec/ere","0");
BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/SEARCH_spec');
# BIO::remote_action($gb_main,'ARB_NT','macros');
# recording stopped @ Fri Apr 11 15:50:17 2014
# recording resumed @ Fri Apr 11 15:50:36 2014
BIO::remote_action($gb_main,'ARB_NT','SELECT_LIST_ENTRY/CLOSE');
BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/query_0','*');
BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/SEARCH_spec');
# recording stopped @ Fri Apr 11 15:50:51 2014
# recording resumed @ Fri Apr 11 16:07:50 2014
# recording stopped @ Fri Apr 11 16:07:50 2014
ARB::close($gb_main);
