US Text substitution misses some scripts

I don’t know if this is new or not, but I tried using a text substitution today and had an unexpeced result.

Here’s what the “us” text replacement looks like:

use script "#~library~#"

It displays a picker with a list of Script Libaries in the correct folder s(~library/Script Libraries/ and the system SL folder). But does not include all the libaries in the user folder. I think it omitted all the Libraries that don’t have dictionaries (which includes all the ones I put there).

Is this new? I thought all libraries appeared in the picker before.

→ Script Debugger 8.0.4 (8A50)
→ MacOS 11.6.4

That’s correct. If a script has a use statement that doesn’t assign the library to a property, the only way for the script to use the library is via defined terminology – so we only show such libraries in this case.

Try this:

use someScript: script "#~library~#"
1 Like

OK, thanks, I’ll set that one to UL and keep the other one as US.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.