Solved - Error compiling a script that uses Dialog Toolkit Plus (1.1.2)

I am trying to use Benoit Pointet’s “Download GoogleBooks Metadata.applescript” , which contains as its first lines

use script “Dialog Toolkit Plus” version “1.1.2”
on run
tell application id “DNtp”
wrapperScript((selection of think window 1) as list) of me
end tell

The script doesn’t compile (Debugger displays a message "Can’t get script “Dialog Toolkit Plus”, -1,728

I know I added DTP to ~/Script Libraries (and for good measure tried adding it to a legacy ScriptingAdditions folder),

At a bit of a loss here, any thoughts?


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.


→ Script Debugger 8.0.4 (8A52)
→ MacOS 11.6.5

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.

Many thanks!!

1 Like