How to right-click a _highlighted_ file without the mouse?

Well, I found that you can right-click use Mousekeys. The problem with that is that it right-clicks where the pointer is. I want it to right-click the highlighted file instead! This way I can use the arrow keys to move the highlight bar to the file I want, then press the secret keyboard shortcut to execute a right-click without ever touching the mouse! The best I can come up with instead is to use Mousekeys to move the pointer to the file and then press Control-5 to right-click. But moving the pointer that way is slow and clumsy.


Is there a way to do this WITHOUT using Mousekeys to position the mouse pointer, meaning that the right-click takes effect on the highlighted file instead of the file that happens to be under the mouse pointer? I've looked on the web, but to no avail.


Again, to be extra clear, I want a keyboard shortcut that right-clicks the highlighted file, NOT the file that happens to be under the mouse pointer.


TIA!

iMac Line (2012 and Later)

Posted on Jul 31, 2021 9:18 PM

Reply
15 replies

Aug 2, 2021 11:22 AM in response to betaneptune

I think your idea is brilliant, so I hope you don't mind that I've submitted it as a feature request to Apple via the Apple Product Feedback link. I invite you to do the same. You know the saying about the squeaky wheel. 😉


Follow this link to leave product feedback or to submit a request for features consideration in macOS –

Apple Product Feedback:

https://www.apple.com/feedback/

Aug 1, 2021 9:37 PM in response to D.I. Johnson

I greatly prefer the highlight bar. I don't have to move my hand to the mouse, lose my home position with my fingers, and I can see all quantities all the way across to be sure I've got it right and it's far more likely the mouse might get bumped and drift off target. It takes me more effort with the mouse. This is especially true if the highlight bar is already there and then later I decide I want to right-click. The fastest thing then is if there were a keyboard shortcut. And after using the mouse you have to go back to the keyboard and reposition your hands on the home keys. I've used both Windows and macOS and greatly prefer the way Windows does this.


What little I've done with the trackpad I don't like. I find it easier to position the pointer with a mouse. I don't know why. And I still have to move my hand away from the keyboard and reposition it over the home keys afterward.


I'm beginning to think that this simply cannot be done with macOS without Apple rewriting some internal code.

Aug 2, 2021 9:43 AM in response to VikingOSX

First step doesn't work. So I activated Mouse Keys by pressing the Option key 5 times. (The option for the shortcut you said to use is unchecked on my system.)

I selected a file by using the up/down arrow keys to move the highlight bar to the desired file.

I pressed Control-5 and I got the context menu for the file that was under the pointer, not the one that was highlighted, which is just the opposite of what I want. So it didn't work.

Thanks anyway!

BONUS PROBLEM: "Show Accessibility status in menu bar" doesn't work. All it does is put a circled person in the status menu areas. It doesn't change if you toggle Mouse Keys on or off. If you click it, all you get is a menu with a whole lot of grayed-out options except one that shows the Accessibility panel in Sys Pref. So all it does is tell you that you've asked it to be there, which is totally worthless. What a surprise.

Aug 1, 2021 8:12 PM in response to betaneptune

Hello, betaneptune.


I understand what you're asking for and in all my years of using Macs, I've never heard of any way to ctrl-click a file than directly with a mouse or trackpad cursor on the object.


May I ask, is your dexterity somehow limited and makes using a mouse difficult?

If so, have you considered making the switch to a trackpad? The gestures and touch/tap functions of a trackpad make file navigation and selections so much easier and faster than using a mouse. My experience with a mouse goes all the way back back to the 1986 Mac Plus, yet I abhor using one and will opt for a trackpad every time.


I realize this reply doesn't offer the fix you hope for, but perhaps it can be food for thought should your quest go unfulfilled.

Aug 1, 2021 8:35 PM in response to D.I. Johnson

Follow Up -


I poked around a little in System Preferences > Accessibility > Pointer Control and I found Alternate Control Methods > Enable alternate pointer actions.


When enabled, F12 is set by default to right-click an item. So, if you can use the keyboard alpha and arrow keys to select a file, say from a list or a Finder window or desktop, then you can use F12 to right click. The mouse cursor does not have to be on the file, the file just has to be selected.

( I ❤️ , 😉)

Aug 1, 2021 9:24 PM in response to betaneptune

Well, after a bit more experimentation it seems I was wrong... partly.


I was using a Finder window in column view and the mouse cursor was resting on the preview pane at the right. When I scrolled down the file list and used the F12 alternate pointer action, the action worked, but only on the file currently displaying in the preview pane under the cursor. 😡

I found the same under cursor limitation on the files on the desktop, too.

So, while the keyboard shortcut does invoke a right-click, it is again defined by the location of the mouse cursor, be it on the desktop, in the preview pane, on a filename or even on a window action button.


Sorry to disappoint.

Aug 2, 2021 5:07 AM in response to betaneptune

This works on Mojave, as I just tested it with 10.14.6 (18G9323). It requires an Apple extended keyboard with a numeric keypad.

  • Press Option+Command+F5 to launch the Accessibility Options panel, and select Mouse Keys, and click Done.
  • Select the file or folder that you want to open from a keyboard activated contextual menu
  • Press control + 5 (on the numeric pad), and a contextual menu will open on the selected file or folder.
    • Use up or down arrow keys to navigate this contextual menu, and right or left arrows to step into or out of sub-menu items. Use the Return key for contextual menu selection.


To disable mouse keys, repeat the first bullet, deselect Mouse Keys, and press Done.

Aug 2, 2021 12:46 PM in response to VikingOSX

Greetings,

Yes, I think you're right. More evidence to this point is given by a 3rd party app I have called Final Cut Library Manager. It does the same thing with the right-click. And when you use PgUp and PgDn, the highlight bar scrolls off screen, just like on macOS apps. Oh well. Thanks for giving it a shot. I appreciate your efforts. As for the right-click bit again, point Windows. :-(

Aug 2, 2021 12:51 PM in response to D.I. Johnson

Thanks!

I think I already have made a request to Feedback. I assume that on Big Sur, this is still the way it works, in which case it wouldn't hurt to submit another request. Also, it would be nice if they would fix the BONUS PROBLEM above. At least it doesn't break the video like it did on Windows NT long ago. I would toggle on the show mouse keys status icon thing in the system tray. But over the next hour or two, the screen would start going wacko. Fonts would become really big. Parts of windows overlapped incorrectly. At least that doesn't happen here. Here it just means you asked it to show itself. Which is of no practical use! It's gotta be a bug. Thanks again.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to right-click a _highlighted_ file without the mouse?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.