<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Sorry for confusion. I am using Chimera.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 Ibrahim</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Elaine Meng <meng@cgl.ucsf.edu><br>
<b>Sent:</b> Friday, June 19, 2020 4:34 PM<br>
<b>To:</b> Moustafa, Ibrahim M. <ria2@psu.edu><br>
<b>Cc:</b> ChimeraX Users Help <chimerax-users@cgl.ucsf.edu><br>
<b>Subject:</b> Re: [chimerax-users] ViewDock script</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Ibrahim, <br>
Are you using Chimera or ChimeraX?  <br>
<br>
You sent the question to the ChimeraX mailing list.  If you are using Chimera, should send the question to the chimera-users@cgl.ucsf.edu mailing list.<br>
<br>
Best,<br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D.                       <br>
UCSF Chimera(X) team<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
> On Jun 19, 2020, at 1:31 PM, Moustafa, Ibrahim M. <ria2@psu.edu> wrote:<br>
> <br>
> Hi Eric,<br>
> <br>
> I tried:<br>
> rc("ui tool hide ViewDockX")<br>
> <br>
> but it did not work and gave an error of "ui" unrecognized command.<br>
> I must be missing something!<br>
> <br>
>  Thanks for your help.<br>
> <br>
>  Ibrahim<br>
> From: Eric Pettersen <pett@cgl.ucsf.edu><br>
> Sent: Friday, June 19, 2020 3:50 PM<br>
> To: Moustafa, Ibrahim M. <ria2@psu.edu><br>
> Cc: chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu><br>
> Subject: Re: [chimerax-users] ViewDock script<br>
>  <br>
> Hi Ibrahim,<br>
> “ui tool hide ViewDockX” will hide all ViewDockX windows.<br>
> <br>
> --Eric<br>
> <br>
> Eric Pettersen<br>
> UCSF Computer Graphics Lab<br>
> <br>
> <br>
>> On Jun 19, 2020, at 11:54 AM, Moustafa, Ibrahim M. <ria2@psu.edu> wrote:<br>
>> <br>
>> Dear All,<br>
>> <br>
>> I'm trying to run ViewDock from a script using the following command in a loop:<br>
>> runCommand("viewdock " + filename + " AutoDock")<br>
>> <br>
>> It works fine. However, the ViewDock window remains opened after reading each file. For large number of files it is not practical to close them manually.<br>
>> <br>
>> Is there a command to close the opened ViewDock windows to add to the script?<br>
>> <br>
>>    Thank you for your help.<br>
>> <br>
>>   Ibrahim <br>
>> <br>
>> <br>
>> <br>
>> _______________________________________________<br>
>> ChimeraX-users mailing list<br>
>> ChimeraX-users@cgl.ucsf.edu<br>
>> Manage subscription:<br>
>> <a href="https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplato.cgl.ucsf.edu%2Fmailman%2Flistinfo%2Fchimerax-users&amp;data=02%7C01%7Cria2%40psu.edu%7C28cc67392f294968f05c08d814903572%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637281956888212688&amp;sdata=bJJpQsswuIO1NgkdR4%2FJi2Qg4IL3zvfI5Vt225BNadg%3D&amp;reserved=0">
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplato.cgl.ucsf.edu%2Fmailman%2Flistinfo%2Fchimerax-users&amp;data=02%7C01%7Cria2%40psu.edu%7C28cc67392f294968f05c08d814903572%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637281956888212688&amp;sdata=bJJpQsswuIO1NgkdR4%2FJi2Qg4IL3zvfI5Vt225BNadg%3D&amp;reserved=0</a><br>
> <br>
> _______________________________________________<br>
> ChimeraX-users mailing list<br>
> ChimeraX-users@cgl.ucsf.edu<br>
> Manage subscription:<br>
> <a href="https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplato.cgl.ucsf.edu%2Fmailman%2Flistinfo%2Fchimerax-users&amp;data=02%7C01%7Cria2%40psu.edu%7C28cc67392f294968f05c08d814903572%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637281956888212688&amp;sdata=bJJpQsswuIO1NgkdR4%2FJi2Qg4IL3zvfI5Vt225BNadg%3D&amp;reserved=0">
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplato.cgl.ucsf.edu%2Fmailman%2Flistinfo%2Fchimerax-users&amp;data=02%7C01%7Cria2%40psu.edu%7C28cc67392f294968f05c08d814903572%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637281956888212688&amp;sdata=bJJpQsswuIO1NgkdR4%2FJi2Qg4IL3zvfI5Vt225BNadg%3D&amp;reserved=0</a><br>
<br>
</div>
</span></font></div>
</body>
</html>