• Gaming

    by Published on 03-01-2021 01:34 PM
    1. Categories:
    2. Gaming,
    3. General

    Here's a simple utility I wrote to launch an application or bring it to the foreground if it is already running.
    I needed a way to launch an application, but ensure only one instance of the application is launched even if called multiple times.

    For my own use, I use it with an Elgato StreamDeck to launch application like OBS and Chrome, but only want them to launch the once and if already launched bring the application to the foreground. It can also be used with other launchers ie. iCUE to start applications as well.

    To use the application simply call the executable with the path to the required application along with any additional arguments required for the application.
    If the application executable is not in the list of running processes, then it will be launched using the supplied arguments.

    For example to launch OBS I use the following command in StreamDeck
    C:\Utilities\OpenOnce.exe "C:\Program Files\obs-studio\bin\64bit\obs64.exe"
    To use simply unzip the file and call the OpenOnce.exe executable. It's 64bit application with no dependencies, so the only you need is the executable.

    OpenOnce.zip
    by Published on 20-06-2020 01:59 PM
    1. Categories:
    2. Gaming

    Saw this on Asmongold, think we can all relate one way or another.