Utility - SecondStarter

Discussion in 'OffTopic' started by craigparris1, July 8, 2008.

  1. craigparris1

    craigparris1 Portal Pro

    Joined:
    May 20, 2008
    Messages:
    189
    Likes Received:
    15
    Ratings:
    +15 / 0
    Home Country:
    Hi all,

    As part of my MediaPortal setup, I have a couple of tray apps that I wanted to run. They are related to the remote control for my TV card (Leadtek), but I was having some issues with them - they needed to start in a particular order for everything to work hunky-dory.

    So, I just knocked up a little .Net utility that can be used to launch applications in a particular order, with a specific "second" delay for each one to start.



    Not sure if this would be useful to anyone else (and I'm sure there are a bunch of other things out there that do the same thing), but I thought I'd upload it here anyway. The source is VB.Net (Visual Studio 2005). To use the app, just run Second Starter\bin\Release\SecondStarter.exe. If you run the app with no parameters, it will just open the configuration window. To actually run the processes, you need to run the app with this command line:

    SecondStarter.exe -runprocesses

    This is the command you would put in your Startup folder, or Windows\CurrentVersion\Run in the registry. When run like this, the app will run in the system tray - just right-click the tray icon for the pop-up menu, or double-click it to open the configuration form. If you turn the option on to close the app after all processes have been run, it will close automatically (save system resources).

    It's all pretty simple and self-explanatory - if you do have any questions though, just let me know.

    Cheers,
    Craig
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!