Shutdown my computer in x seconds
Posted: Sun Jan 30, 2022 4:50 pm
Showing off Push2Run's ability to use Regex groups, below is a card that will let you shut down your computer in a specific number of seconds.
With it you can say:
"OK Google, tell my computer to shut down in 25 seconds"
or
"OK Google, tell my computer to shut down 25 seconds"
and your computer will shut down in 25 seconds.
However,
"OK Google, tell my computer to shut down in several seconds"
will not match, as the Regex expression requires a specified number.
Thanks to forum user Ivo for suggesting the Regex syntax for the above!
With it you can say:
"OK Google, tell my computer to shut down in 25 seconds"
or
"OK Google, tell my computer to shut down 25 seconds"
and your computer will shut down in 25 seconds.
However,
"OK Google, tell my computer to shut down in several seconds"
will not match, as the Regex expression requires a specified number.
Thanks to forum user Ivo for suggesting the Regex syntax for the above!