I got this piece of a (test)script which causes Quark2015 to crash. Error number -609, invalid connection.
Stripped the original script to the code below, I think it goes wrong in addressing the text box.
However, when I run it on a different Mac or on the same Mac, but in Quark 10, it works fine.
Does anyone has any ideas on this?
Thanks,
Kjeld
(not new here, but login got lost)
Code: Select all
set importFolder to (choose folder with prompt "Select a text folder") as string
set importList to list folder (importFolder as alias) without invisibles
set theFile to item 3 of importList
set textBox to "textBox"
tell application "PS1.3:Applications:QuarkXPress 2015:QuarkXPress.app:"
tell page 1 of layout space 1 of project 1
set story 1 of text box textBox to (importFolder & theFile) as alias --"My Project Text"
end tell
end tell