A bug and an issue with clippings

I have the text below saved as a clipping.

The bug: They all work fine, except ApplicationID. rather than replace the clipping with the selected ID for the app it leaves the clipping in place. Sometimes the selected ap id lands in the line above or below.

The issue: Rather than display a list of apps, each of these pickers displays the same list you see for dictionaries, which includes libraries. The app picker should really only display apps, no?




→ Script Debugger 8.0.4 (8A50)
→ Mac OS 11.6.3 (20G415)

FYI, in the sample posted above, the first verision of application ID works if it’s at the top of a script.

The last two versions don’t work.