Catalina and AppleScript

My Xojo app calls a little AppleScript that opens a PDF in the application the user selects (e.g. Preview). This is broken in Catalina. This AS that works in Mojave, for example, fails (I’m running it in Script Debugger, not Xojo, btw): tell application “Preview” activate open file “/Users/myuse…