Press Escape

Runs a local AppleScript or script over SSH to simulate the Escape key.

Matthew's Score
3/5
Total Actions
5

Shortcut Information

Use this shortcut as an example for how to run an AppleScript that “presses” a key that’s not a normal keyboard character.

Also works well if you’re a VIM user.

Find the full list of AppleScript key codes here: https: or or eastmanreference.com or complete-list-of-applescript-key-codes
Compatibility
Complexity
Interactivity
iOS Features

Actions Used In This

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Press%20Escape
Open Shortcut deep link
shortcuts://open-shortcut?name=Press%20Escape
AppleScript
tell application “Shortcuts Events” run shortcut “Press Escape” end tell

More From This Category

You Might Also Like

Analyze address

Gets addresses from the clipboard or shared as input, presents a menu if more than one is found, and then gives options for sharing it, showing it in maps, getting directions, getting travel time, or sharing the Maps URL to that spot.

Get shortcut »


Get way deeper into Shortcuts – become a member.