Page 1 of 1

Shutdown my computer in x seconds

Posted: Sun Jan 30, 2022 4:50 pm
by RobLatour
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.

ss1.jpg
ss1.jpg (76.15 KiB) Viewed 3574 times
Shutdown_in_x_seconds.p2r
(604 Bytes) Downloaded 360 times


Thanks to forum user Ivo for suggesting the Regex syntax for the above!