Use these keyboard shortcuts in the Script Workspace to create and edit scripts.
Note Keyboard shortcuts that debug scripts and disable script steps are available when the Use advanced tools general preference is selected. See Using advanced tools.
To | Press |
Create a new script | -N |
Save a script | -S |
Open the selected script in a new tab | -T |
Open the selected script in a new window | -Shift-T |
Run the selected script | -R |
Save and run the selected script | -Option-R |
Debug the selected script (when Use advanced tools is selected) | -Shift-R |
Save all scripts and debug the selected script (when Use advanced tools is selected) | -Shift-Option-R |
Close the current tab | -W |
Close all tabs | -Option-W |
Close the Script Workspace | -Shift-W |
Move to the next tab in the script editing pane | -Shift- } |
Move to the previous tab in the script editing pane | -Shift- { |
Move the selected script step up or down in the script | -Control-Up Arrow, -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 | -D |
Disable the selected script step (when Use advanced tools is selected) | -/ |
Print the selected script | -P |