On Wed, Apr 22, 2009 at 10:51 AM, Hai-Ru Chang <span dir="ltr">&lt;<a href="mailto:hrc@eas.gatech.edu">hrc@eas.gatech.edu</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">
Hello,<div>       Is there any way in GAGUI to set up an Window Button than will change current working directory for you.  The purpose of the button is to make the file list in &#39;open&#39;&#39; menu item to list the files in the directory that you want.  Thanks!</div>
<div><br></div><div></div></div></blockquote><div><br>Short answer: no. <br><br>Longer answer:   the chdir() function is a very needed functionality in grads; I&#39;ve been thinking about implementing it as an opengrads extension (along with other POSIX functionality). Having that command, you can create a simple GAGUI button to run chdir().<br>
<br>            Arlindo<br><br></div></div><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>