1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is this a service? Is this a scheduled task?

Discussion in 'Suggestions' started by dcantor, Feb 18, 2009.

  1. dcantor

    Joined:
    May 29, 2008
    Messages:
    507
    Likes Received:
    3
    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.)
     
  2. dcantor

    Joined:
    May 29, 2008
    Messages:
    507
    Likes Received:
    3
    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.)
     

Share This Page