Escape Key Purpose

If I do the following:

  1. Put two dashes at the very top of a script;

  2. put the cursor before both these dashes;

  3. select the Escape key.

A drop-down menu appears with a list of words that begin:


I understand the function of the Escape key in ASObjC code completion but wondered the intended use for the above.

Code-completion is not limited to ASObjC. Inside tell blocks it’s app-specific, and it searches known terminolgy from AppleScript, loaded extensions, and used script libraries.

What you’re seeing there are the system’s suggestions when there’s no context (so not much help).

1 Like

Thanks Shane for the explanation.