![adobe illustrator cs5 extended test adobe illustrator cs5 extended test](https://www.bhphotovideo.com/images/images1000x1000/Adobe_65081218_Photoshop_CS5_Extended_Software_721392.jpg)
Win.alignChildren = panelFooter.alignChildren = "fill" Var btnOk = win.add("button", undefined, "Ok") Var txtFooter = panelFooter.add("edittext",undefined, "") Var btnPages = grpPages.add("button",undefined,"Insert Pages") Var btnPage = grpPages.add("button",undefined,"Insert Page") Var panelFooter = win.add("panel", undefined, "Text to insert") Var radRight = panelAlignment.add("radiobutton",undefined, "Right") Var radCenter = panelAlignment.add("radiobutton",undefined, "Center") Var radLeft = panelAlignment.add("radiobutton",undefined,"Left")
![adobe illustrator cs5 extended test adobe illustrator cs5 extended test](https://p.calameoassets.com/100620025830-a486166067b8218cb481c8efe7fbfb3f/p1.jpg)
Var panelAlignment = win.add("panel", undefined, "Alignment") Var radBottom = panelLocation.add("radiobutton",undefined, "Bottom") Var radTop = panelLocation.add("radiobutton",undefined,"Top") Var panelLocation = win.add("panel", undefined, "Location") Var lblUnits = panelMargins.add("statictext",undefined,"inches") Var txtMargins = panelMargins.add("edittext",undefined, 0.25) Var lblMargins = panelMargins.add("statictext",undefined,"How far from the edge:") Var panelMargins = win.add("panel", undefined, "Margins") Var win = new Window("dialog","MTools - Insert Page Numbers") If ( > 0) // continue if there's at leat one document open Its primary function is to insert Page Numbers, but it could be used to insert any other kind of information. Notes: The script creates a new layer (Page Numbers) then adds a text frame per Artboard that act as footer or header text. script.required = at least one open document script description = Inserts page numbers (or any other text) to all artboards in the active document
![adobe illustrator cs5 extended test adobe illustrator cs5 extended test](https://i.ebayimg.com/images/g/jC0AAOSwg4thGWte/s-l1600.jpg)
script.name = UI_insertPageNumbers.jsx // works with CS4 & CS5 Have a use for it? Let me know if there are questions, bugs. Hi all, about three weeks ago a user asked about something like this, I thought it was a good idea to have it scripted.