InDesign Script Headshot Layout CHANGE LOG Version 4.5 (230823) a. Remove data size limit. b. Set 'folderXxxxxLastValid' once selected. c. Miscellaneous. d. Rebuild i18n. Version 4.4 (230630) a. Release 4.3.1 Version 4.3.1 (230222) a. Read script folder for i18n make consistent with AI and PS. b. Update copyright year. Version 4.3 (221229) a. Update function parseCsv. b. Update i18n. Version 4.2 (221210) a. Add option fit image to frame. b. Increase data file max to 500K. c. Sort frames reduce Y variance tolerance from 18 to 3 points. Version 4.1 (221102) a. New function setFolder climb folder hierarchy until one exists. b. Add script variables 'folderXXXXLastValid'. c. Folder property 'fsName' use 'fullName' instead. Version 4.0 (221022) a. Folder objects global and create in btnOK.onClick. b. Log contents add trailing return. c. Miscellaneous. Version 3.9 (221017) a. Settings apply setFolder do not clear value when prop is empty. Version 3.8 (221010) a. Remove //@target b. Check app name and warn if wrong app for script. Version 3.7 (220902) a. Log when placing image fails. b. Ignore empty cells in CSV data. Version 3.6 (220807) a. Settings current break apart single return statement. b. Settings apply and current try/catch/alert errors. c. Replace function notify with alert and confirm. d. Rebuild i18n. Version 3.5 (220708) a. Updated function settings.setList. b. btnFileData.onClick updated function setList. Version 3.4 (220615) a. Separate declare and define script and UI variables. b. Implement file.openDlg for existing files. c. Miscellaneous. Version 3.3 (220307) a. Test for dataArray and dataArray length. b. i18n file encoding UTF-8. c. Settings file encoding UTF-8. d. NEW progress window. e. Rebuild i18n. Version 3.2 (220222) a. Ignore items off page. Version 3.1 (220218) a. Process function for images collect rectangles not pageItems. b. Improved progress function. c. Drop down lists third argument is array no need for properties object. Version 3.0 (220113) a. Add option delimiter. b. Update i18n. c. Function process move progress before try. Version 2.9 (220111) a. Hoist var log. b. Hoist var settings. c. Function setFolder rename control => uiText d. Function setList/listSelection rename control => uiList e. Update to i18n[title] in function notify. f. Function notify log file name its own statictext control. Version 2.8 (211221) a. Test if "contents" in textFrame instead of if textFrame.contents. Version 2.7 (211212) a. Apply settings updated setList function. b. Give btnFileData handler its own setList function. c. Function setFolder pass property name. d. Read i18n catch (_) empty variable. Version 2.6 (211130) a. UI label columns align left. Version 2.5 (211129) a. Add missing i18n strings used in settings. Version 2.4 (211103) a. Alert when images and text are the same layer. b. Test for text frame property 'contents' defined. c. Function setList default to null, nothing selected. Version 2.3 (211029) a. i18n edits. b. Call setList on selecting CSV file, to set column lists to defaults. c. Log path to data file path instead of document, so don't need fullName property. Version 2.2 (211024) a. Select images folder add prompt. b. Miscellaneous. Version 2.1 (211019) a. Miscellaneous. Version 2.0 (211017) a. Fix function setList. Version 1.9 (211016) a. Fix i18n missing strings from last version changes. b. Miscellaneous. c. New setList function. Version 1.8 (211012) a. Updated settings code. b. Updated readData function. c. Miscellaneous. Version 1.7 (210927) a. Update settings load function. Version 1.6 (210916) a. Settings load/save move file.close() to finally. Version 1.5 (210915) a. Improved notify function. b. Remove support message with email address. c. Log save move this.file.close() to finally. Version 1.4.1 (210913) a. Miscellaneous. Version 1.4 (210911) a. UI adjustments (columns). Version 1.3 (210907) a. Refine data file error handling. b. Log missing images. c. Refine sort. Version 1.2 (210907) a. Sort frames by pages, so multi-page documents work. Version 1.1 (210906) a. Add settings, restore last used. b. New handling of data file. Version 1.0.1 (210902) a. Enforce 100K limit on data file. Version 1.0 (210731)