I am using Dialog Toolkit Plus in an applet to create windows. I have Dialog Toolkit Plus.scpt stored in the Contents/Resources/Script Libraries/ folder inside the applet. At the beginning of all the applet’s scripts there is:
use script "Dialog Toolkit Plus" version "1.0.1"
Main.scpt runs fine but another script in the applet that is called by main.scpt can’t find the Toolkit. It gets the error “Can’t get script “Dialog Toolkit Plus””. The two scripts are in the same folder Contents/Resources/Scripts.
I need help to find the correct way to enable applet scripts other than main.scpt, to see Script Libraries.