use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
use script "Dialog Toolkit Plus" version "1.1.2"
This compiles on my mac. (I don’t have that app so I removed the rest).
To fix this or figure out what’s going on you have several options:
Go to the Scripts menu, there’s a built in script named “Open Script Libraries Folder.” Select that and if Dialog Toolkit Plus isn’t in the folder that opens in the finder, put it there. (Wherever else it might be, you can be assured appleScript will look for it there).
To confirm that Dialog Toolkit Plus has been correctly installed, open the dictionary window and look for Dialog Toolkit Plus in the left pane, under “LIBRARIES.”
You can also select “Paste Tell” in the Edit Menu and select Dialog Toolkit Plus from that list under Libraries.
Thanks Ed! - now it is working. I’m still scratching my head as to why the DTP disappeared from my Script Libraries folder, but your instructions helped. It was not there anymore, I placed a fresh copy, restarted Debugger, opened the dict window and there it was.
I’ll make a test recreating the Script Libraries Folder and placing a fresh copy of the Library in it …
if it works I’ll move all Libraries from Dropbox to both of my Macs…
actually it makes me a little sad because if I will ever have to make changes to any Library in the future I have to do the changes as many times I have Macs with the Libraries installed…
I went for the Dropbox sync to avoid this for the future…