Provided the only "Notes" bundle you're using is the BBEdit created default Notes.bbnotebookd stored in ~/Library/Application Support/BBEdit/Notes.bbnotebookd and you're using a version of Mac OS supporting the Shortcuts app, I think I've found a solution that completely meets the solution you're looking for.
Using the Shortcuts app, create a new shortcut using the "Open File" shortcut found in the Files subgroup in the Documents category. The shortcut starts out as "Open File in Default.app". Double click on "File" to get a file chooser dialog. Navigate to and choose ~/Library/Application Support/BBEdit/Notes.bbnotebookd. Then double click on "Default.app" to get an app chooser. Find BBEdit and choose it. Once that's done and after test running it to ensure it is working then on the sidebar's toolbar click on the "info" icon. Check that "Use as Quick Action" and "Service Menu" items are checked. Then click on the "Add Keyboard Shortcut" button and it will change to "Run With:" with a text box where you add the keyboard shortcut you want to use to invoke the shortcut. Lastly, under the file menu choose Rename... and rename the shortcut to name/title as you want to see appear as the menu item title in the Services menu. In my limited testing, the shortcut will if needed launch BBEdit, open the Notes bundle/window if not already open, bring the Notes window to the front. IF BBEdit and the Notes bundle/window are already open then the shortcut will bring BBEdit and the Notes window to the front with the previously selected note from the Notes list and cursor position retained from the last visit. On Thursday, November 23, 2023 at 2:40:15 PM UTC-8 Peter Schoo wrote: > Thank you GP for answering. The shortcut for "New Note in BBEdit" with > selected text is certainly useful, but it is not what I am looking for. > > I search for a way to go to the 'Notes' window from random places, i.e. > any other app or the OS, by keyboard command only. > > GP schrieb am Donnerstag, 23. November 2023 um 20:54:13 UTC+1: > > While it might not be exactly what you want, the "New Note in BBEdit" > service might satisfy your needs. > > In system Settings -> Keyboard -> Keyboard Shortcuts > ... -> Services -> Text you can assign a keyboard shortcut to the "New > Note in BBEdit" entry. In order for that service to become active where > you want to use it you'll need to select a bit of text. Once you've > assigned the keyboard shortcut to the service item, you can verify the > assignment by selecting a bit of text then under the application menu > select Services and look at the keyboard shortcut associated with > the "New Note in BBEdit" item in the Services menu items list. > > On Thursday, November 23, 2023 at 4:21:30 AM UTC-8 Peter Schoo wrote: > > Using BBedit 14.6, I like a lot the notes windows allowing me to take > notes and manage them i.e. my half-down work in an efficient way. The > 'Notes' window plays a central role. > > However, sometimes I experience the situation that, while in another > application or on MosOS, I'd like to switch instantly into the 'Notes' > window to add or continue on existing notes. > > Any idea how to create a keyboard shortcut or similar that allows me to > bring this 'Notes' window in front and focus? > > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/7cc7e2e4-47c7-418c-ac9d-5b0919469238n%40googlegroups.com.