{"repo":"mlove4u/InDesign-Automation-Python-Mac-Appscript","free":true,"listed":false,"github":"https://github.com/mlove4u/InDesign-Automation-Python-Mac-Appscript","clone":"git clone https://github.com/mlove4u/InDesign-Automation-Python-Mac-Appscript.git","description":"InDesign Automation with Python in Mac","language":"Python","stars":12,"topics":["indesign","python","mac","automation"],"license":"MIT","category":"workflow-automation","readme_excerpt":"About Some example scripts for InDesign automation control on Mac. About appscript - Installation: pip install appscript - HP: http://appscript.sourceforge.net/ Keyword conversion click here - Characters a-z, A-Z, 0-9 and underscores ( ) are preserved. - Spaces, hyphens (-) and forward slashes (/) are replaced with underscores. - Ampersands (&) are replaced by the word 'and'. - All other characters are converted to 0x00-style hexadecimal representations. - Names that match Python keywords or names reserved by appscript have an underscore appended. (※) ※example: class-- class , properties-- properties Usage Add new object Get type/class of an object Method with keyword Get value or Set value or Get item by name by id by range Performance When running a script in InDesign, it operates at a significantly slower speed of approximately 30% compared to officially supported languages such as JavaScript, AppleScript, and VBScript. This is due to the InDesign document continually redrawing during script execution, which significantly slows down processing times. Sample code - 00 application - 01 document - 02 text frame -- result example - 03 set ruby to textframe - 04 layer - 05 character -- result example - 06 paragraph -- result example - 07 font -- result example - 08 table/cell -- result example - 09 graphic -- result example - 10 pdf - 11 find and change text -- example - find/change text - find/change grep - 12 export selection to image - GUI - Usage - 13 find all imgs smaller ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mlove4u","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mlove4u/InDesign-Automation-Python-Mac-Appscript/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}