The following JXA script:
"\tAlpha\n\t\tBeta\n\t\t\tGamma"
gives:
Alpha
Beta
Gamma
instead of:
Alpha
Beta
Gamma
@peternlewis, are leading tabs deleted in the output of Execute a JavaScript Automation actions ? I've found the same behaviour with a shell script.
macOS Ventura
Leading tabs deleted.kmmacros (1.8 KB)