Skip to content

Latest commit

 

History

History
94 lines (83 loc) · 3.36 KB

README.md

File metadata and controls

94 lines (83 loc) · 3.36 KB

cw

A generic command wrapper

TODOs

Grammar

import default_env;

export const name: string = "";
export const (): error => {
  var hour: int = prompt("", 0);
  var minute: int = prompt("", 0);
  var second: int = prompt("", 0);

  synchronized download_movie(), download_music()

  return exec({
      ...default_env,
      "PATH": Path(C:/Windows/System32)
    },
    this_script_location, //working_directory
    "shutdown -s -f -t ${(hour * 60 * 60) + (minute * 60) + second}",
    5
  );
}

Notes

  • Should not touch %PATH%, including this software
    • pin to taskbar is ok

Scripts