Rather than having different shortcuts for these two purposes I use one script to handle both situations. Here’s how you can do the same.