Keyboard shortcuts in Script Editor on Mac
In the Script Editor app on your Mac, you can quickly accomplish many tasks using keyboard shortcuts and gestures. See the shortcuts and gestures below, as well as keyboard shortcuts in Script Editor menus in the menu bar. In app menus, keyboard shortcuts are represented by symbols.
Note: Keyboard shortcuts in apps may vary depending on the language and keyboard layout you’re using on your Mac. If the shortcuts below don’t work as you expect, look in the app menus in the menu bar to see the correct shortcuts. You can also use the Keyboard Viewer to see your current keyboard layout, known as an input source.
Action | Shortcut |
---|---|
Show or hide the Description in the script window | Command-1 |
Show or hide the log section in the bottom of the Script Editor window | Command-2 |
Show or hide the results in the script window | Command-3 |
Run the script | Command-R |
Stop the script | Command-Full Stop (.) |
Turn on Record mode | Shift-Command-R |
Compile script | Command-K or press the Enter key |
Find | Command-F |
Find the next occurrence of the search term | Command-G |
Find the previous occurrence of the search term | Shift-Command-G |
Find using the selected text | Command-E |
Jump to the selection in the Script Editor window | Command-J |
Open the Library window | Shift-Command-L |
Open the Result History window | Option-Command-R |
Open the Log History window | Option-Command-L |
Minimise the window | Command-M |
Select all | Command-A |
Complete | Option-Escape (Esc) |
Open Script Editor settings | Command-Comma (,) |
Open new script | Command-N |
Open | Command-O |
Open a dictionary | Shift-Command-O |
Close the window | Command-W |
Undo the last action | Command-Z |
Restore the action that was undone | Shift-Command-Z |
Cut | Command-X |
Copy | Command-C |
Paste | Command-V |
Paste a reference to an object | Shift-Command-V |