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