///////////////////////////////////////////////////////////////// // All Points v.1.3 -- CS,CS2,CS3,CS4 //>=-------------------------------------- // This script simply draws a line from every point to every other point of your selected pathitem. // Handy for making Mandalas. Try on polygons, stars or even freehand shapes. //>=-------------------------------------- // JS code (c) copyright: John Wundes ( john@wundes.com ) www.wundes.com //copyright full text here: http://www.wundes.com/js4ai/copyright.txt ////////////////////////////////////////////////////////////////// function Loadbar(x){ this.versionNum= app.version.split(".")[0] ; if (this.versionNum >= 13){ this.w = new Window('window', "Processing...", undefined, {independent:true}); this.w.frameLocation = [600,400]; this.w.tracker = this.w.add ('statictext' , [15,15,250,35], "processing"); this.w.prog = this.w.add ('progressbar' , [15,15,250,35], 0, x); //this.w.show(); } } Loadbar.prototype.close = function(){ if (this.versionNum >= 13){ this.w.close(); } } Loadbar.prototype.hide=function(){ if (this.versionNum >= 13){ this.w.hide(); } } Loadbar.prototype.show=function(){ if (this.versionNum >= 13){ this.w.show(); } } Loadbar.prototype.update=function(x){ if (this.versionNum >= 13){ this.w.prog.value = x; } } Loadbar.prototype.label=function(x){ if (this.versionNum >= 13){ this.w.tracker.text = x; } } Array.prototype.indexOf = function(i){ var len = this.length; for (var a=0;a