Opening Apps with a Streamdeck Button

Well, @MacSparky, you didn’t get ME to spend money, but you did one of my in-laws. I got a Streamdeck Neo for Christmas! Even though it only has 8 buttons, I still love it and am doing lots of things with it. One problem, though.

I have a 2 monitor setup with 2 Spaces on each. I am using the Streamdeck in part to launch apps that are already opened, but on another Space other than an active one. With some, it switches to the correct Space on the correct monitor, bringing the app front and center. With most, though, if the monitor where the app is is not in the correct Space, nothing happens. I want to do this to go directly to an app without moving the mouse to the monitor, selecting the Space, and clicking on the app.

Am I missing a setting on the Streamdeck or on the Mac? Is this do-able? Help the Streamdeck noob please!

Do you have keyboard maestro? If so I am fairly certain you could write a macro to do what you want and launch it from your streamdeck.

Thanks. I do have Keyboard Maestro, but I am trying to do this within Streamdeck. Maybe I can do a multi action macro in Streamdeck. For some reason, MS Teams opens in the right Space from the button, but other apps like Outlook and Mail do not. Not sure what the difference is.

You likely know this, but just to be sure, some apps, including Mail, are ‘locked’ to one instance when launched from the GUI. The terminal command:

open -n -a "Mail"

Will open a second instance of Mail. Replace “Mail” with the name of the app you want to open, in parentheses. In my tests, it opened on the space I was in. (I do not have a Stream Deck, so I could not test that part.)

Good luck and have fun.

Thanks! In this case I already have the app open, so I’m not trying to force the opening of another instance. I just want the Open command on the Streamdeck button to bring that app front and center on the screen of the appropriate monitor and Space.

I really would relax your ambition to do it all in Stream Deck. As the owner of several :grinning:I can tell you the combination of it and Keyboard Maestro is extremely satisfying.

1 Like

Sorry for slightly hijacking the topic, but how do you find the Neo?

I sold my Stream Deck a while back but now I’m working from home full time, I’m back to looking at them, and was thinking the Neo might be the better option, in part, because I didn’t manage to use all 15 of the buttons on the previous deck at once, so thinking it’s perhaps a bit wasteful to spend £50 more if most of the buttons are going to be unused!

I’m not able to use it with my work laptop, so it was going to be hooked to my Mac to act as the media keys whilst I’m working. It would then get some other use when the Mac is used, but nothing like some of the systems I’ve seen used elsewhere on this forum!

I’m wondering other than the less number of buttons if there was any other limitations to it.

Not that I’ve found so far. Still playing with it! :slightly_smiling_face:

1 Like

Ok, to prevent further confusion, let me state what I think the problem to be solved is:

  • The application is running but no windows are open.
  • You have the Stream Deck button set up to open the application in a specific space.
  • You click the Stream Deck button and expect to move to the designated space and open the application.
  • However, when you click the button, the application does not open in the expected space.

I do not have a Stream Deck, so I cannot test this. But I’m pretty sure one could write a Keyboard Maestro macro to switch to the designated space and then open the app.

And on the Stream Deck it would be simplest to use the KM Link plugin to activate the Keyboard Maestro macro.

2 Likes

Interesting! I will have to look into that!