Live data from Hacker News

How to set Google chrome in full-screen and all the rest not front of it?

news.ycombinator.com

1–4 of 4 posts

How to set Google chrome in full-screen and all the rest not front of it?

#1
I have a KIOSK in Railway, where public users are using the KIOSK to print Train tickets. On the kiosk it is using Windows 8.1 Pro and Google Chrome.

1) Boot:

When the Windows 8.1 Pro starts it execute the batch script from startup Please see: http://i.imgur.com/UWMKMru.png

2) script:

timeout 1 > nul @start /b cmd /c "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir=c:\lummens timeout 10 > nul @start /b cmd /c "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --kiosk

3) Problem:

as you can see the batch script is set to first execute a chrome which is not in kiosk mode, but after 10 second later google chrome another instance is launched to make it full-screen. both executes but the biggest problem is. the first chrome instance always comes on top of second chrome instance which is executed as --kiosk

How can i execute the first chrome instance always behind the last chrome instance please?

NOTE: when i launch manually the batch script it always works. but when i do windows reboot , it is very random and not stable, often the first window of chrome remain in front of the last window of chrome which is launched as --kiosk

Please advise.