Reopen with Encoding keyboard shortcut

83 views
Skip to first unread message

Graham Buck

unread,
Mar 5, 2018, 9:02:45 AM3/5/18
to BBEdit Talk
Is there a way to set a keyboard shortcut for Reopen with Encoding. I cannot find it in the BBEdit shortcut preference pane and when trying to set one through the macOS keyboard shortcut system it seems to catch the option under Markup->Character Set.

If not through the gui somehow, maybe through the command line?

Thanks

Christopher Stone

unread,
Mar 7, 2018, 7:39:55 PM3/7/18
to BBEdit-Talk
On 03/05/2018, at 07:01, Graham Buck <graha...@gmail.com> wrote:
Is there a way to set a keyboard shortcut for Reopen with Encoding.


Hey Graham,

What specifically?

--
Best Regards,
Chris

Marc Wilson

unread,
Mar 9, 2018, 10:05:20 AM3/9/18
to BBEdit Talk
See https://support.apple.com/kb/PH25377?locale=en_US

Works just like it says.  Just created a shortcut to reopen a document in Chinese.

Graham Buck

unread,
Mar 9, 2018, 5:14:19 PM3/9/18
to BBEdit Talk
Thank you, I know that.

The issue is that there are two locations in BBEdit's menu system that have both the strings 'Unicode (UTF-8)' and 'Western (Mac OS Roman)'. So the keystroke I set trigger both items.

Graham Buck

unread,
Mar 9, 2018, 5:14:19 PM3/9/18
to BBEdit Talk
I do a fair amount of work converting between UTF-8 and Western (Mac OS Roman).

Christopher Stone

unread,
Mar 9, 2018, 7:17:15 PM3/9/18
to BBEdit-Talk
On 03/09/2018, at 16:14, Graham Buck <graha...@gmail.com> wrote:
The issue is that there are two locations in BBEdit's menu system that have both the strings 'Unicode (UTF-8)' and 'Western (Mac OS Roman)'. So the keystroke I set trigger both items.


Hey Graham,

No one seems to know that you can be more specific with the system's keyboard shortcuts.

(I myself didn't until today.)

Give it the whole address of the keyboard shortcut like so:

File->Reopen Using Encoding->Unicode (UTF-8)

I am surprised the Reopen submenu is not in BBEdit Menus & Shortcuts preferences.  You may want to contact support and ask about that.

--
Best Regards,
Chris

Marc Wilson

unread,
Mar 10, 2018, 11:25:53 AM3/10/18
to BBEdit Talk
Because you didn't read the KB article I linked, I will summarize.  Specify the complete path to the menu option, not just the terminus.

Graham Buck

unread,
Mar 10, 2018, 12:16:13 PM3/10/18
to BBEdit Talk
My apologies, Marc. I began to read it and never finished. I jumped to conclusions.

Thanks for your help.
Reply all
Reply to author
Forward
0 new messages