Illustrator Script Grommet Marks CHANGE LOG Version 4.7 (231205) a. Add version to error message. b. Miscellaneous. Version 4.6 (230824) a. Miscellaneous. Version 4.5 (230705) a. Disable options top and/or left when both edges disabled. b. Update function validateFloat. Version 4.4 (230225) a. Drop-down lists remove blank entry. b. Update copyright year. Version 4.3 (221022) a. Settings apply set list units before value inputs. Version 4.2 (221019) a. Update panel 'Settings' to match others. Version 4.1 (220928) a. Remove //@target b. Check app name and warn if wrong app for script. Version 4.0 (220805) a. Settings current break apart single return statement. b. Settings apply and current try/catch/alert errors. Version 3.9 (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.8 (220614) a. Separate declare and define script and UI variables. b. Equals or not null make strict comparison. Version 3.7 (220609) a. Fix faulty validateFloat function always allows negative values. b. Miscellaneous. Version 3.6 (220602) a. Add missing event handlers for recent option additions. Version 3.5 (220524) a. Updated validateFloat function with negative argument. Version 3.4 (220519) a. Offset inputs recognize minus sign for negative numbers. Version 3.3 (220415) a. Mark fill and stroke choice of different swatches. Version 3.2 (220307) a. Drop down lists make array third argument instead of in properties object. b. Validate functions pass uiEdit argument. c. Do not call changeOption() inside validate functions. d. Settings file encoding UTF-8. Version 3.1 (220216) a. Add option mark shape round or square. b. Change 'diameter' to 'size'. Version 3.0 (220207) a. Rename var 'strokeWidth' => 'strokeWeight' to match other scripts. But NOT line/path item property 'stokeWidth'. That remains. Version 2.9 (221010) a. Remove unused var doneMessage. b. Hoist var settings. c. Function setList/listSelection rename control => uiList. d. Function validateNumeric rename control => uiEdit. e. listUnits.onChange function convert rename argument inp => uiEdit f. Accept decimal comma. g. Rename var docScale => docScaleFactor. h. Function valueAsFloat make string before replace. Fixes error 's.replace is not a function'. i. Function valueAsFloat rename argument s => v Version 2.8 (211213) a. Catch and set var error in process function not necessary. b. Replace units radio buttons with drop-down list. c. Update inputs when units change. d. Rename control inpWeight => inpStrokeWeight. e. Rename default layer => layerName. f. Rename default swatch => swatchName. g. Rename var weight => strokeWeight. h. Rearrange interface. i. Layer use a drop-down list. j. Implement layer and swatch create item. k. Check for isolation mode. l. Setup try/catch. m. Miscellaneous. Version 2.7 (211209) a. Apply settings all setList supply default. b. Improve error handling. c. Rename processDoc => process. d. doc.scaleFactor default to 1. e. Make process sub-function 'addDot' a var defined at top of function. f. Apply settings implement function getProp. g. Apply settings updated setList function. Version 2.6 (211129) a. Update function validateNumeric. b. Remove on activate calls for number/space inputs top and left. c. Miscellaneous. Version 2.5 (211017) a. Fix function setList. Version 2.4 (211017) a. New setList function. b. Add 'true' to lists default selection item 0. Version 2.3 (211014) a. Updated settings code. Version 2.2 (210927) a. Update settings load function + other miscellaneous. Version 2.1 (210917) a. Settings load/save move file.close() to finally. b. Miscellaneous. Version 2.0 (210914) a. Adjust values based on doc.scaleFactor b. Fix incorrect property 'strokeWeight' => 'strokeWidth' Version 1.2.6 (210711) a. 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.2.5 (210623) a. Settings.add() rename symbol name => inpName Version 1.2.4 (210621) a. Save settings add replace option. b. Make settings drop-down wider. Version 1.2.3 (210608) a. Fix settings file error userData is null. Use documents and replace path. Version 1.2.2 (210321) a. Alert and confirm supply all arguments. Version 1.2.1 (201220) a. Configure UI unlock settings. b. Disable delete settings on null or default. Version 1.2 (201219) a. Miscellaneous. Version 1.1.1 (201106) a. Get swatch 'None' by index rather than name. Version 1.1 (201026) a. Add options fill, stroke, and weight. b. Revise settings apply set default on undefined. c. Fix flaw processDoc inner loop same iterator. Version 1.0 (201025)