Illustrator Script Page Information CHANGE LOG Version 4.6 (240413) a. Clear existing page information before adding page information. Script had the functionality but achieved it while adding page information and errantly removed page information just created on an overlapping artboard. b. Add option 'Remove existing page information'. c. Rebuild i18n. Version 4.5 (240321) a. Add options US and European date formats. b. Add option 2 digits MM/DD or DD/MM. c. Internationalize. Version 4.4 (231205) a. Add version to error message. b. Miscellaneous. Version 4.3 (230924) a. Implement multi-line page information. b. Position right and bottom based on text frame width/height. c. Move font size input to main interface. d. Interface adjustments. Version 4.2 (230824) a. Miscellaneous. Version 4.1 (230225) a. Drop-down lists remove blank entry. b. Update copyright year. Version 4.0 (221022) a. Settings apply set list units before value inputs. Version 3.9 (221019) a. Update panel 'Settings' to match others. b. Miscellaneous. Version 3.8 (220928) a. Remove //@target b. Check app name and warn if wrong app for script. Version 3.7 (220805) a. Settings current break apart single return statement. b. Settings apply and current try/catch/alert errors. Version 3.6 (220708) a. Updated function settings.setList. b. Settings replace list add empty item so minimum two items. c. Settings list add empty item so minimum two items. d. Settings unlock move to listSettings.onChange. Version 3.5 (220614) a. Equals or not null make strict comparison. Version 3.4 (220526) a. Release 3.3.1 Version 3.3.1 (220526) a. Add new variable {AN} for artboard name. b. Fix bug remove existing info text from current artboard only, not all. c. Separate declare and define variables. d. Allow negative values for offset. e. Miscellaneous. Version 3.3 (220307) a. Validate functions pass uiEdit argument. b. Do not call changeOption() inside validate functions. c. Settings file encoding UTF-8. Version 3.2 (220220) a. Add name property to textFrame. b. Remove existing page information before adding again. c. Drop down lists make array third argument instead of in properties object. Version 3.1 (220110) a. Function validateUnits change argument order. b. Function validateNumeric rename argument control => uiEdit. c. Replace function convertUnits => valueAsPoints. d. Paragraph style define window make font size and swatch in columns. e. Hoist var settings. f. Function setList/listSelection rename control => uiList. g. Remove unused var doneMessage. h. Accept decimal comma. i. Rename var docScale => docScaleFactor. j. Function valueAsFloat make string before replace. Fixes error 's.replace is not a function'. k. Function valueAsFloat rename argument s => v l. Miscellaneous. Version 3.0 (211213) a. Interface change to simply 'Layer' and 'Swatch' and the lists. b. Include in list Registration and Black instead of radio buttons. c. Font display string, spell out "points". d. Alignment center disable indent. e. Rename layerNames => layerRelNames. Version 2.9 (211213) a. Catch and set var error in process function not necessary. Version 2.8 (211211) a. Unknown ruler units default to inches. b. Reorder measurement units array to match Illustrator. Version 2.7 (211209) a. Improve error handling. b. Rename processDoc => process. c. doc.scaleFactor default to 1. d. Apply settings implement function getProp. e. Apply settings updated setList function. f. Settings current function, lists set to 'createItem' replace with 'Information'. g. Miscellaneous. Version 2.6 (211129) a. Add function validateFloat, use in place of validateNumeric. b. Use new function validateNumeric for font size. c. Miscellaneous. Version 2.5 (211017) a. New setList function. b. Add 'true' to lists default selection item 0. c. Lists text default from defaultSettings, otherwise empty strings in defaultSettings. d. Function validateUnits set priorIndex always. Version 2.4 (211015) a. Updated settings code. b. Miscellaneous. c. Add lists for measurement units, both offset and indent. Version 2.3 (210927) a. Improve window font select, changeOption handling. b. Add missing changeOption call to validateFloat function. c. Update settings load function + other miscellaneous. Version 2.2 (210917) a. Settings load/save move file.close() to finally. b. Miscellaneous. Version 2.1 (210914) a. Adjust values based on doc.scaleFactor Version 2.0 (210809) Release 1.0.7.001 Version 1.0.7.001 (210809) (2.0 IN DEVELOPMENT) a. Add font selection window and button to open. b. Refine setup based on Dimensions Illustrator. c. Make date year 4 digits. d. List layer target add [Create 'information'] if not exists. e. List swatch add [Create 'information'] if not exists. f. Remember mu and recalculate values when changed. g. Add placeholders width, height, and ruler units. Version 1.0.7 (210711) a. Change default font Helvetica => ArialMT B. Solution to null userData makes new problem. Some users have MyDocuments on a server. Only use new solution if userData returns "/Volumes/null", rather than always. Rather than 'myDocuments', use value for 'desktop'. Version 1.0.6 (210623) a. Settings.add() rename symbol name => inpName Version 1.0.5 (210621) a. Save settings add replace option. b. Make settings drop-down wider. Version 1.0.4 (210608) a. Fix settings file error userData is null. Use documents and replace path. Version 1.0.3 (210321) a. Alert and confirm supply all arguments. Version 1.0.2 (201013) a. UI consistency. b. Miscellaneous. Version 1.0.1 (191220) a. Fix window button return value problem with Windows close button. Version 1.0 (190919)