Skip to main content
Participant
May 23, 2021
Question

Catching errors in the host

  • May 23, 2021
  • 0 replies
  • 119 views

When accessing undefined properties in the host file the `evalScript` call return an error, even if I wrap the script in a try/catch.

I'm trying to figure out in the host script if the `activeDocument` has ever been saved (has a path). How can you do this otherwise?

This topic has been closed for replies.