<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi John,<br>
<div><br>
I think that on your script you may have to include:<br>
<br>
waitfor(gcf);<br>
<br>
... following your call to <span dir="ltr">pop_selectcomps() if you want the script to pause until the figure is closed.<br>
</span><br>
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="PlainText">James</div>
</span></font></div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF410820"><font face="Tahoma" size="2" color="#000000"><b>From:</b> eeglablist-bounces@sccn.ucsd.edu [eeglablist-bounces@sccn.ucsd.edu] on behalf of John Johnson [john@johnjohnson.info]<br>
<b>Sent:</b> June 3, 2016 3:32 PM<br>
<b>To:</b> eeglablist@sccn.ucsd.edu<br>
<b>Subject:</b> [Eeglablist] Pausing to select components<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hello,
<div><br>
</div>
<div>I'm writing a script with pop_selectcomps(). I'd like for the script to wait until the user has selected components to reject, then continue after the user clicks 'Ok'. Is there a way to do this?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>John<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">Sent from a MacBook Pro<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>