1 <script type="text/javascript">
4 $('#window_batch').dialog({
10 var cmds = $('#batchCommand').val().split("\n");
11 for(var i=0;i<cmds.length;i++){
12 cmds[i] = cmds[i].replace(/^#.*$/,'\n');
14 cmds = cmds.join(";").replace(/\n/g,';').replace(/;+/g,';').replace(/^;/,'');
16 $(this).dialog('close');
19 $(this).dialog('close');
26 <div id="window_batch" title="VLM Batch Commands">
27 <textarea id="batchCommand" cols="50" rows="16">
28 #paste your VLM commands here
29 #separate commands with a new line or a semi-colon