Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Is this a service? Is this a scheduled task?

May
572
4
Three feature requests for some subsequent version:

1. A new variable _SERVICE value 1 if this instance of TCC is running as a service, 0 otherwise. (I was considering asking for _SERVICENAME, but with _SERVICE, it can probably be fairly easily obtained by using _PID.)

2. A new variable _SCHTASK value 1 if this instance of TCC is running as a scheduled task, 0 otherwise.

3. (If %_TASK EQ 1 then) a new variable _SCHTASKNAME for the name of the running scheduled task; empty string otherwise. (Perhaps if this is implemented, _SCHTASK would be unnecessary.)
 
Is this being run during startup?

And one more:

4. A new variable _DURING_STARTUP, or something a little less verbose, value 1 if started due to one of the startup registry key groups or because of being in the Startup program group (which is distinguishable from the value of %_SHORTCUT), 0 otherwise.

(It would be even better if the result could differentiate which group of registry key entries this task was found in.)
 
Back
Top