Whether this will work will depend upon how the Stream Deck is injecting the text strings into Windows.
Try changing this setting:
1. Open Input Director on your Director
2. Switch to the "Director Preferences"
3. Scroll all the way down to the Advanced settings.
4. Enable the option "Allow synthesised input".