Open zwettemaan opened 2 years ago
The Tightener 0.0.6 plugin for InDesign 2023 has support for UXPScript.
In the UXPScript context you can call a function app.evalTQL()
which evaluates TQL scripts.
In the TQL context you can call a function evalUxpScript()
which will evaluate a UXPScript.
See the rru
and rru.tql
files which allow us to run UXPScript in InDesign from the command line.
I intend to also add a more generic solution so all UXP-based automation environments would have access to Tightener.
Tightener can serve as a way for allow UXP easy access to existing or newly built application DOMs. By integrating Tightener into UXP as a dynamic library, UXP could be enhanced. InDesign is low-hanging fruit, as the whole InDesign DOM is available in Tightener, and TQL is 'just another DOM-enabled language' on a par with ExtendScript, VBScript or AppleScript.