Customer Issue
We’re launching a Microapp in Edge kiosk mode from Task Scheduler and it won't move through the slides. It stays on the first screen. If I just connect and move the mouse, the slideshow starts.
Environment
- Microsoft Edge (kiosk mode)
- Microapps
Solution
A limitation that we have observed in the past is that launching Edge in kiosk mode does not automatically set the browser as the active window, and therefore content does not auto-transition until a user interacts with it.
Running/scheduling a batch script like the following may be used to ensure the browser is automatically selected as the active window upon launch:
@echo off
start "" "msedge" --kiosk --app=https://app.onfirstup.com/embed/00000000-0000-0000-0000-000000000000
:: Wait for a few seconds to ensure the window has opened
ping 127.0.0.1 -n 6 > nul
:: Use PowerShell to activate the Microsoft Edge window
powershell -Command "(Get-Process msedge).MainWindowHandle | ForEach-Object { [User32]::ShowWindow($_, 9) }"
Comments
0 comments
Article is closed for comments.