How to stop `Write Text to File` trashing the file

Hey Guys,

The macro above requires that all the directories in the path to the target file already exist.

This one will create them if necessary:

Write UTF-8 Text to File using AppleScriptObjC v1.10

Both are fully UTF-8 compatible.

-Chris

2 Likes