Stream Deck macro keypad

I’m a little unclear how it works. I couldn’t find a video of it actually being used in a real setting. As different applications get focus, does the pad automatically change context for the current application? In other words, if I am running Dorico and Cubase and have a different profile for each app, will it automatically change the pictures when I move between Dorico and Cubase?