Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

system.service.autoStart()

krisdb2009 edited this page Sep 2, 2017 · 2 revisions

Details

This method will set the service's autostart key in the registry. And will make it so that this service will start next time Webdows is ran.

This method returns the previous object if an argument is given.

This method will return a true or false depending on weather the service is set to auto-start or not.

Arguments

mixed = new system.service().autoStart(bool autoStart);

autoStart: If true, the service will auto-start.

Examples

var service = new system.service();

service.autoStart(); //This will return false

service.autoStart(true); //This will return the service object

service.autoStart(); //This will return true


Webdows Documentation Wiki

system Object

explorer Object

Clone this wiki locally