appautorun AutoStarted property
Return to Introduction  Previous page  Next page
Applies to
acAppAutoRun component.  

property AutoStarted: Boolean; // read only and run-time only  

The AutoStarted property determines whether the program current working session was executed automatically on Windows startup. It returns True if the program was started after reboot, or False otherwise, if it was started by user or other non-system program.  
tip Actually, it just checks whether the command line which was used on execution of program are contains the '/autorun' parameter. If this parameter exists, the acAppAutoRun thought that it was executed on Windows startup.