Launch from cmd and provide URL argument
Hi,
Looking for a way to launch Screenbox (installed via Microsoft Store) from cmd, and be able to provide the URL to play as an argument.
Does this exist?
Thank you.
Hi @calum-johnston-web! I'm Dosu and I’m helping the Screenbox team.
Launching Screenbox (from the Microsoft Store) with a URL argument from the command line is not supported. This limitation exists because Screenbox is a UWP app, and UWP apps do not allow launching with command-line arguments in the way traditional desktop apps do see maintainer's statement.
Screenbox does support opening local media files via file associations, but there is no protocol handler or custom URI scheme registered for direct URL playback from the command line manifest details.
There are currently no workarounds or alternative methods documented for passing a URL to Screenbox from the command line.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
The bot is incorrect, this limitation is no longer in effect. See Command-Line Activation of Universal Windows Apps.
Ah so this is possible, we will need to implement the activation pattern if we want to support launch from command line.
Ah so this is possible, we will need to implement the activation pattern if we want to support launch from command line.
The last time I tried to add the execution alias, the app simply would be stuck on the splash screen. Suspected the multi-instance stuff but even after removing that, it still didn't work.
Same for a restart command, which works fine in another project.