I don't know a way to assign a keyboard shortcut to a browser
directly, but that's OK because the preview menu items include the
version number, which change frequently.

But you can create a script to do it, and script can have a keyboard
shortcut, and the script will keep working even when the version
number changes.

#!/bin/zsh -f

/usr/bin/open -a "Marked 2" "$BB_DOC_PATH"

exit 0

Note if you use Marked via 'Setapp' it is referred to as 'Marked' not 'Marked 2'

If you want to use a different app / browser, change 'Marked 2' to the
name of the app / browser.




On Wed, Apr 29, 2020 at 1:20 AM Jan Erik Moström <[email protected]> wrote:
>
> Is it possible to set a shortcut to a specific browser (for preview)? I
> can't find anything about it in the manual (and I wonder if this is the
> reason why I have this old AppleScript that I use to preview in Marked
> :D )
>
> = jem
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "[email protected]" 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/FE641933-0E9B-4F50-8EED-08618E168CD7%40mostrom.pp.se.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CADjGqHvLjvJR0BKT%3DA9%3DnRQMJ6HvoC7PpCGbkjNR_iUB0xRCmQ%40mail.gmail.com.

Reply via email to