[Mesquitelist] two easy questions I hope
Wayne Maddison
wmaddisn at interchange.ubc.ca
Sun Nov 2 14:26:17 PST 2008
In any script, there is a current object to which scripting commands
are being sent. In your script, it appears that the current object
is a tree window module. You need to reset the current object to the
root Mesquite module itself, so that you can tell Mesquite to quit.
You reset the current object using the "tell" command. Thus:
tell Mesquite;
quit;
endTell;
The first line changes the current object to Mesquite itself.
For your second question: do you want to write the whole text in the
panel? At the moment, there isn't a way to do that. We will enable
it for the next release.
Wayne
At 7:07 PM +0100 30.10.2008, Gilles HUNAULT wrote:
>Hello everybody.
>
>I am new to Mesquite and I need your help. I have built a lot
>of nexus file and I would like to process them with a linux shell
>script. How do I tell mesquite to quit ? I have tried quit ; and exit ;
>at different locations in the MESQUITE block, but all I get is
>
>Module Tree Window
>(mesquite.trees.BasicTreeWindowMaker.BasicTreeWindowMaker)
>did not respond
>to command quit with arguments ()
>
>or other "employees" telling me the same message.
>
>The second question is how to get the results from Pagel Correlation
>Analysis sent to a file. All I am able to send with saveMessageToFile
>and getLastResultString is to get the last line of the window
>that is, the last p-value only.
>
>Thank you in advance for your help.
>
><<Au plaisir de vous relire.>>
>--
>(.=.)
>Gilles J. HUNAULT, gilles.hunault at univ-angers.fr
>"Science needs culture and feelings"
>http://www.info.univ-angers.fr/pub/gh/
>_______________________________________________
>Mesquitelist mailing list
>Mesquitelist at mesquiteproject.org
>http://mesquiteproject.org/mailman/listinfo/mesquitelist
--
--------------------------------------------------------
Wayne Maddison
Professor and Canada Research Chair
Depts. of Zoology and Botany and
Biodiversity Research Centre
& Director
Beaty Biodiversity Museum
6270 University Boulevard
University of British Columbia
Vancouver, BC V6T 1Z4 Canada
email: wmaddisn at interchange.ubc.ca FAX: +1 604 822-2416
Mesquite: http://mesquiteproject.org
MacClade: http://macclade.org
Salticidae: http://salticidae.org
Tree of Life: http://tolweb.org
Beaty Biodiversity Museum: http://beatymuseum.ubc.ca
Home page: http://salticidae.org/wpm/home.html
More information about the Mesquitelist
mailing list