Script Editor Icon

Opening a new script with text selected in another application

You can use the Services menu to open text selected in an application to open in Script Editor as a script. This feature is available in any application that supports the services menu

Note: For AppleScript to execute the selected text, there must be one or more AppleScript commands that are syntactically correct.

To open a new Script Editor window with text selected in another application:

Step 1

In an application that supports services, select the text you want to open in Script Editor.

Step 2

Choose the application menu >Services > Script Editor > Make New AppleScript.

Related Topics

Using Script Editor services in other applications