Jump to content

Application To Automatically Reopen Another Application When It Is Closed


Recommended Posts

Posted (edited)

Hello,

 

We have some computers that are a kiosk. They automatically open a browser on startup. However, the user closes the browser when they have finished and it has caused confusion for those who aren't very good with computers.

 

I have seen an application in the past, you prefix the application .exe in a shortcut (in our case a browser link that is in the startup folder to auto launch). When it is ran it opens as normal. But when the browser is closed it will automatically reopen.

 

Can anyone remind me of this application please? If not maybe someone can suggest an alternative please?

 

Thanks

Edited by FN-GM
Posted
We have some computers that are a kiosk.

 

Using Chrome as a browser? It does have a proper "kiosk" option you can use at the command line ("--kiosk", I think). Also, "app" mode ("--app") is often quite handy.

 

Can anyone remind me of this application please?

 

Would a simple batch file do it?:

 

:start
chrome --kiosk --app https://domain.goes.here/url/goes/here.html
goto start

  • Thanks 1
Posted (edited)
Using Chrome as a browser? It does have a proper "kiosk" option you can use at the command line ("--kiosk", I think). Also, "app" mode ("--app") is often quite handy.

 

 

 

Would a simple batch file do it?:

 

:start
chrome --kiosk --app https://domain.goes.here/url/goes/here.html
goto start

 

Thanks for the reply!

 

It's Edge but it should work? I will try it out. I believe this is similar to the current setup "chrome --kiosk --app https://domain.goes.here/url/goes/here.html".

 

However, this is an example of many. We do have others that aren't browser based so it wouldn't work with them.

Edited by FN-GM
Posted (edited)

 

It's Edge but it should work? I will try it out.

 

I just gave it a go in Edge. But it keeps re-opening multiple tabs.

 

This seem to work though

 

msedge.exe --kiosk http://www.contoso.com --edge-kiosk-type=fullscreen

 

 

Cheers

 

EDIT: Correction.

Edited by FN-GM
Posted (edited)
Windows 10 / 11 can do Edge in single app mode and then they can't close it ?

 

https://docs.microsoft.com/en-us/windows/configuration/kiosk-single-app

 

We would like to get back to the begging when they have finished. If they can't close it would it be stuck on page of the last visitor?

 

Plus we still need something for applications that aren't browser based.

 

EDIT: with Edge, I have figured out how to restart back to the begging when idle so that should work. But the original question still stands as I need to address this for non browser based apps. The script in post 2 (Thanks @dhicks !) works but we can see the command line. Maybe there is a way to hide this?

Edited by FN-GM
Posted
The script in post 2 (Thanks @dhicks !) works but we can see the command line. Maybe there is a way to hide this?

 

Pretty much any programming language will give you a way to do an infinite loop and run an application, you just want something that compiles to a Windows executable. A quick Google for "batch file compiler" brings up some options, or if you want a general-purpose tool for compiling handy scripts for automating various Windows stuff then AutoIt is very good:

 

https://www.autoitscript.com/site/

Posted
Plus we still need something for applications that aren't browser based.

 

Do you mean you need something that keeps a number of applications running, and if any one of them closes it gets re-opened?

Posted
Do you mean you need something that keeps a number of applications running, and if any one of them closes it gets re-opened?

 

Hello,

 

It’s just 1 application. We want it open all the time. If the user closes said application it will automatically reopen.

 

Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...