Posts

Post not yet marked as solved
11 Replies
The different ways to refer to a file seems to be fever with InDesign on Catalina Using a 'file'-reference directly in the Indesign tell block does not work for example.But using 'alias' with an HFS-path still works: tell application id "com.adobe.indesign" tell rectangle 1 of document 1 place alias "path:to:image.jpeg" end tell tell text frame 1 of document 1 place alias "path:to:text.txt" end tellend tellHowever – strangely enough – a 'file' reference does works when defined by the script outside the InDesign tell block. So this also works: set imageFile to POSIX file "/path/to/IMG_2592.jpeg"--> file "Macintosh HD:path:to:IMG_2592.jpeg"set textFile to POSIX file "/path/to/test.txt"--> file "Macintosh HD:path:to:test.txt"tell application id "com.adobe.indesign" tell rectangle 1 of document 1 place imageFile end tell tell text frame 1 of document 1 place textFile end tellend tell