Page 1 of 1

Menu key for "Open Recent"?

Posted: 2013-02-14 15:07:42
by hsleff
Is it possible to assign a menu key to File/Open Recent?

It seems that Nisus Writer Express will only help me assign a key command to Open Recent/Clear Menu.

Re: Menu key for "Open Recent"?

Posted: 2013-02-15 15:58:15
by martin
Do you mean that you want to assign a keyboard shortcut to a particular file in the Open Recent menu? For example, File > Open Recent > My Life With Banana Slugs? If so, you are correct that this is not possible.

The reason for this is actually a little bit esoteric: Apple manages the Open Recent menu for most applications (including Nisus Writer) and for some reason they do not implement it using standard menu items. Instead they chose to implement it using some special internal code that doesn't use normal menus but fakes them instead. I'm not sure why they did this, but it prevents Nisus Writer's keyboard shortcuts from interfacing with those items.

If you'd like to assign a keyboard shortcut to a recently (or often) accessed file, I'd recommend you use the menus on File > Open From Document Manager instead. There we provide our own recently opened file list, plus a variety of other categories, which can include any custom fixed document lists you'd like to populate.

Re: Menu key for "Open Recent"?

Posted: 2013-02-15 16:44:19
by hsleff
Thanks for your answer, Martin. Please let me clarify. I want to be able to get to File/Open Recent strictly from the keyboard. I was hopeful that NWE would allow me to do that simply. In System Preferences/Keyboard /Keyboard Shortcuts/Keyboard Text & Input, there is a default system command (^F2) to "Move the focus to the menu bar." Actually, that does not work for me, but I successfully changed it to ^Option Command m (m for menu bar), which works system wide. It's not a great help because I still must use the right arrow key to get to File and then the down arrow key to get to Open Recent, the right arrow key to get to the recently opened file list, and finally the down arrow key to pick the file. Perhaps I could write an AppleScript to accomplish this or more likely, I'll just continue to take my hands off the keyboard and use the mouse to select Open Recent.

Re: Menu key for "Open Recent"?

Posted: 2013-02-19 18:22:04
by martin
All is clear now Harvey, but unfortunately you can't assign keyboard shortcuts for menus that are intermediates along the path, sorry.

I don't know if it would be any faster than your other workaround, but you could summon the Document Manager window using a keyboard shortcut, and then use combinations of the tab and arrow keys to access the Recently Opened file list. If you left the Document Manager window with the recent file list active all the time, this might be pretty convenient, as you'd only have to use the arrow keys at that point (and Return/Enter to open the desired file).

Re: Menu key for "Open Recent"?

Posted: 2013-02-19 21:54:01
by hsleff
That is a brilliant idea Martin and I will try it for a while. I've set Command-Option-^-d to open the Document Window. It seems to work pretty much as I would like. I can easily select and open recently saved files. Great. Thank you very much!

Re: Menu key for "Open Recent"?

Posted: 2013-10-14 23:18:51
by Hamid
You can also place Recently Opened in the Toolbar as a Custom Toolbar Item:
RecentltOpenDM.gif
RecentltOpenDM.gif (11.38 KiB) Viewed 6377 times
This allows to use arrow keys (or the first one or more letters of the names of files) to select any file from the list.

Re: Menu key for "Open Recent"?

Posted: 2013-10-15 17:10:51
by phspaelti
Hamid wrote:This allows to use arrow keys (or the first one or more letters of the names of files) to select any file from the list.
I am just trying this. And the arrow keys work. But if I type a letter it always selects Clear Menu:?

Re: Menu key for "Open Recent"?

Posted: 2013-10-15 21:06:28
by Hamid
phspaelti wrote: I am just trying this. And the arrow keys work. But if I type a letter it always selects Clear Menu:?
The menu item in question is
File:Open from Document Manager:Recently Opened

Re: Menu key for "Open Recent"?

Posted: 2013-10-16 03:04:29
by phspaelti
Got it.
Hey, that is pretty cool, Hamid.