Script Workspace keyboard shortcuts (macOS)

Use these keyboard shortcuts in the Script Workspace to create and edit scripts.

To

Press

Create a new script

Command-N

Save a script

Command-S

Open the selected script in a new tab

Command-T

Open the selected script in a new window

Command-Shift-T

Run the selected script

Command-R

Save and run the selected script

Command-Option-R

Debug the selected script (when Use advanced tools is selected)

Command-Shift-R

Save all scripts and debug the selected script (when Use advanced tools is selected)

Command-Shift-Option-R

Close the current tab

Command-W

Close all tabs

Command-Option-W

Close the Script Workspace

Command-Shift-W

Move to the next tab in the script editing pane

Command-Shift-}

Move to the previous tab in the script editing pane

Command-Shift-{

Move the selected script step up or down in the script

Command-Control-Up Arrow, Command-Control-Down Arrow

Add a comment on a blank line

#

Display script step options

+ (plus)

Move through the options between brackets in the script editing pane

Left Arrow, Right Arrow, Tab, Shift-Tab

Select a script step option when it is in focus

Space bar

Remove focus from all script step options

Esc

Delete the selected script or script step

Delete, Backspace

Duplicate the selected script or script step

Command-D

Disable the selected script step (when Use advanced tools is selected)

Command-/

Print the selected script

Command-P