Search code examples
airstartupflash-builder

Is it possible to make an AIR app run on startup?


Is it possible to make my AIR app able to add itself to the list of startup programs? (I'd like to make this work on multiple platforms - namely, Windows, Mac and Linux) How would I go about doing so?


Solution

  • if (NativeApplication.supportsStartAtLogin)
    {
        NativeApplication.nativeApplication.startAtLogin = true;
    }
    

    This will start application when user logs in, not OS starts, but it's closest thing you can get.