How to Right Click Using Keyboard on Mac (2023)

Home How To How to Right Click Using Keyboard on Mac

How to Right Click Using Keyboard on Mac (1)

Akshay Gangwar-

Macs come with a ton of great keyboard shortcuts and bindings that make it really easy to perform a lot of tasks in the system. However, if there is one major keyboard shortcut that’s missing from macOS all these years, it’s that you can’t perform a right-click on a selected item using the keyboard. This particular feature has been present on Windows keyboards since time immemorial and it sucks that MacBooks don’t have it. So, if you’re looking for a way to perform a right-click from a Mac keyboard, we’ve got you covered.

Right Click Using Keyboard on Mac

For the most part, there are ways that you can configure keyboard shortcuts to perform a right click in macOS, however these ways simply perform a right click wherever the mouse cursor happens to be, instead of the file, folder, URL, or word that you happen to have selected. So after quite some time of scouring the internet, I was able to figure out three separate ways that you can right click on a highlighted element without having to move your mouse cursor there first.

  • Using Keyboard on Mac with Apple Script and Automator
  • Using Keyboard on Mac with Better Touch Tool
  • Using Keyboard on Mac with Alfred

Note: I tried these methods on my 2017 MacBook Pro running macOS Mojave Developer Beta and all of them worked perfectly fine.

Using Apple Script and Automator

The first (and the only free) method to right click on Mac using a keyboard requires some Apple Script work, and a little bit of playtime with Automator — both incredibly useful tools that Apple bundles with every Mac. Here are the steps you’ll need to follow:

  • Open Automator, and create a new Service by selecting ‘Contextual Workflow.’

How to Right Click Using Keyboard on Mac (3)

  • In the drop down box next to “Workflow receives” select “no input” and ensure that the next drop down box reads “any application.”

How to Right Click Using Keyboard on Mac (4)

  • Use the search box in Automator to search for “run AppleScript.” Drag and drop it into the Automator workflow.

How to Right Click Using Keyboard on Mac (5)

  • Paste the following AppleScript code into the workflow by replacing the comment that says “your script goes here.”

tell application "System Events" to set frontApp to name of first process whose frontmost is true
tell application "System Events"
tell application process frontApp
set _selection to value of attribute "AXFocusedUIElement"
tell _selection to perform action "AXShowMenu"
end tell
end tell

How to Right Click Using Keyboard on Mac (6)

  • Once you’re done, save the workflow with a suitable name, I’m using “Right Clicker.”
  • Now, in System Preferences, go to Keyboard -> Shortcuts -> Services. Scroll down and find the service you just created.

How to Right Click Using Keyboard on Mac (7)

  • Click on ‘Add Shortcut‘ to set a keyboard shortcut to the service. I’m using command+shift+. for this. You can use any keyboard shortcut that’s easiest for you to remember. Just ensure that it’s not a system keyboard shortcut like “command+space” or “command+control+Q.”

How to Right Click Using Keyboard on Mac (8)

  • Once you’ve done that, go to System Preferences -> Security and Privacy -> Privacy -> Accessibility.

How to Right Click Using Keyboard on Mac (9)

  • Here, click on the Plus icon to add a new app. Choose ‘Automator’ and add it to the list of apps that are allowed to control your computer.

How to Right Click Using Keyboard on Mac (10)

    • You’ll also have to add each app where you want to use this keyboard shortcut to the list. I’ve added Finder to ensure that the shortcut works when I’m using the Finder app with my keyboard.

Once you’ve done all this, you’ll be able to select any file or folder in Finder, and simply press the keyboard shortcut to open the right-click menu for that file or folder.

Using Better Touch Tool

If you’re annoyed of having to add every single app you want to use the right click shortcut on to the list of apps allowed to control your Mac, you can use Better Touch Tool (45 day free trial; license starts at $6.50) as well. The app is paid, but it offers a free trial, and brings a lot of features. Here’s how you can use Better Touch Tool to right click on a selected element on Mac.

  • Launch Script Editor on your Mac, and paste the following AppleScript into it. Save the file (I saved it as rightclickscript on my Desktop).

tell application "System Events" to set frontApp to name of first process whose frontmost is true
tell application "System Events"
tell application process frontApp
set _selection to value of attribute "AXFocusedUIElement"
tell _selection to perform action "AXShowMenu"
end tell
end tell

How to Right Click Using Keyboard on Mac (11)

  • Next, in Better Touch Tool preferences, head over to the Keyboard tab.

How to Right Click Using Keyboard on Mac (12)

  • Click on “Add New Shortcut or Key Sequence,” select “Key Sequence” and choose the key combination you want to use.

How to Right Click Using Keyboard on Mac (13)

  • Click on the box under “Trigger Predefined Action” and choose “Launch Application /Open File / Start Apple Script.”

How to Right Click Using Keyboard on Mac (14)

  • From the pop-up, select the Apple Script file you just saved.

That’s it, you can now use your chosen keyboard combination to perform a right-click on your Mac.

Using Alfred

If you don’t want to handle writing and saving an Apple Script, you can use a pre-built Alfred workflow. Alfred (free trial; license starts at £19) is a productivity app for Mac, and the only paid Mac app other than BTT that I recommend people to check out. There’s a free version available, but you’ll have to buy the Alfred Powerpack to use Workflows.

  • Download the Right Click workflow.
  • Open the downloaded file and it’ll automatically be added to Alfred.
  • You’ll probably have to install an update to the workflow. To do this, just open Alfred and type “update.”
  • Once the update has been installed, head over to Alfred Preferences and go to “Workflows.”

How to Right Click Using Keyboard on Mac (15)

  • Select the Right Click workflow, and set your preferred hotkey to use for right clicking.

That’s it, you’ll now be able to use the hotkey to right click on any selected element on your Mac.

SEE ALSO: 10 Best New macOS Mojave Features You Should Know

Use Your Mac Like a Pro With Keyboard Control

Using a Mac with just the keyboard is very much possible, and in many cases it’s easier to not use the trackpad (no matter how good) or a mouse to navigate your Mac. Personally, I’m more of a keyboard-leaning person myself and this shortcut is really helpful for me. So, now that you know how to right click on Mac with keyboard, go ahead and start using your Mac like a keyboard pro. If you face any problems, or if you know of another method to do this, let me know in the comments section below.

Recommended Articles

How to Use iPad as Second Screen for Mac

How to Reset Mac or MacBook

How to Screen Record on Mac

Apple Will Reportedly Push the Launch of New Macs to Early 2023

Apple to Launch Several New M2-Powered Macs by Next Year: Report

  1. I was able to get the automator version working on my 2015 MacBook Air running Monterey 12.6.3. I was able to give accessability permissions but with some of the non-native apps ( & I want to use this with I get these errors.
    – before whitelist
    The action “Run AppleScript” encountered an error: “System Events got an error: Can’t get attribute “AXFocusedUIElement” of application process “Obsidian”.”
    – after whitelist
    The action “Run AppleScript” encountered an error: “Can’t get action “AXShowMenu” of missing value.”


  2. This still works fine on Catalina. You have to give permission to Automator and any other apps -you want this service to run- to control computer at System Preferences>Security & Privacy>Privacy>Accessibility. Thanks a bunch


  3. yesss ???? Thank you very much.


  4. The Automator method doesn’t work on my MacBook Pro in March of 2020 using Mojave 10.14.6.


    1. Wait, yes it does, if you choose a keyboard shortcut that isn’t already being used for other critical functions. >_<


  5. Thank You very much – the Automator workaround seems to work. Unfortunately, it just right clicks as if there would be nothing selected. Seems to me that there’s something wrong within the FocusedElement line. Plus, it does not seem to work within Word, even if the App is added to the list in the Accessability menu.

    Any help is appreciated!


Leave a Reply


Atlas Fallen Review: Sand Surfing, Monster Slaying Goodness!

Deck 13 is one of my guilty pleasure game developers and publisher. So when their next title Atlas Fallen was announced, it immediately grabbed my interest even though I have a mixed relationship with The Surge. While I am critical […]

Venba Review: Hits Too Close to Home

Venba has managed to turn a lot of heads since its first announcement at Nintendo Direct in late 2022. After all, you don’t get frequently games where you need to prepare South Indian cuisine throughout the experience. I gravitated toward […]

Nothing Phone 2 Review: Price Dilutes the Hype?

The much-anticipated Nothing Phone (2) is finally here, and it created a lot of buzz in the smartphone market. While the Nothing Phone (2) looks similar to its predecessor, it is still a wake-up call for the smartphone industry. One […]


How to Right Click Using Keyboard on Mac? ›

Position the mouse cursor and hold Ctrl. Press and release the keypad's 5 key (or Fn+I). Release Ctrl. Make sure to have the mouse pointer properly positioned, otherwise it won't work.

How do you right-click with just the keyboard on a Mac? ›

Control-click on a Mac is similar to right-click on a Windows computer—it's how you open shortcut (or contextual) menus on a Mac. Control-click: Press and hold the Control key while you click an item.

How to do right-click on Mac without mouse? ›

In macOS, the equivalent of a right-click is called Control-click because it involves holding down the Control button on your keyboard and using the trackpad (or a mouse) to click, which opens a new context menu.

How do I right-click with just the keyboard? ›

Thankfully Windows has a universal keyboard shortcut that does a right-click wherever your cursor is located. The key combination for this shortcut is Shift + F10. There are other keyboard shortcuts available, so if anyone is interested in these just leave me a comment.

How do you right-click on a Mac without control? ›

If you want to right-click, you can tap with two fingers, or set it to tap in the right or bottom corner as above, or you can press and hold the trackpad to get the equivalent of a right-click.

Is there a way to click with keyboard on Mac? ›

Control the pointer using Mouse Keys on Mac
  1. Move the mouse pointer: With a numeric keypad: Use the 7, 8, 9, 4, 6, 1, 2, 3 keys on the keypad. ...
  2. Click a mouse button: With a numeric keypad: Press 5 on the keypad. ...
  3. Press and hold the mouse button: With a numeric keypad: Press 0 (zero) on the keypad. ...
  4. Release the mouse button:

Why is my right-click not working? ›

Mouse right-click not working is a compatibility error that can be fixed with driver updates. Updating a driver manually is a time-consuming process. You need to visit the official website of your mouse manufacturer, spot your device and download the driver installation file.

What key can I use instead of right-click? ›

On some Windows keyboards, there's a button that looks like this. However, many modern keyboards don't have this. Luckily Windows has a universal shortcut, Shift + F10, which does exactly the same thing. It will do a right-click on whatever is highlighted or wherever the cursor is in software like Word or Excel.

How do you use a keyboard without a mouse? ›

System wide shortcuts
  1. Press Windows to toggle Start menu.
  2. Press Alt + Tab to switch between open windows.
  3. Press Alt to focus current windows' application menu.
  4. Press Tab to jump between focusable controls.
  5. Press Enter to confirm something (for example closing a dialog and applying changes)

What is shift F10? ›

While in Microsoft Windows or any Windows program, pressing Shift + F10 allows a user to perform the right-click mouse function with the keyboard.

Top Articles
Latest Posts
Article information

Author: Geoffrey Lueilwitz

Last Updated: 07/05/2023

Views: 5905

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Geoffrey Lueilwitz

Birthday: 1997-03-23

Address: 74183 Thomas Course, Port Micheal, OK 55446-1529

Phone: +13408645881558

Job: Global Representative

Hobby: Sailing, Vehicle restoration, Rowing, Ghost hunting, Scrapbooking, Rugby, Board sports

Introduction: My name is Geoffrey Lueilwitz, I am a zealous, encouraging, sparkling, enchanting, graceful, faithful, nice person who loves writing and wants to share my knowledge and understanding with you.