Thursday, 24 June 2021

Saturday, 12 June 2021

Google Assistant Voice Commands

Turn on Bluetooth
Turn on wifi
Turn on Hotspot
Turn on flashlight



Turn off BlueTooth
Turn off Wifi

Open <App Name>
Open Mi Fit
Open Youtube

Set a timer for 5 mins./ timer for 5 minutes
Cancel 15 min timer


Call Mom /Dad

Custom commands

Open tracker


Battery Alert Using Batch Program

:repeat
Goto get-battery
Echo "%Ba%"
:Next
TIMEOUT /T 600  
if "%Ba%"  GEQ "80" Goto Alert
goto repeat
 
:Alert
echo Your battery has finished charging
mshta javascript:alert("Unplug charger");close();
TIMEOUT /T 500
goto repeat
 
:get-battery
for /f "tokens=2 delims==" %%E in ('wmic path Win32_Battery get EstimatedChargeRemaining /value') do (set "Ba=%%E")
Goto Next


Save the above code in a .bat file. Place this file in startup (shell:startup)

Tuesday, 1 June 2021

Set timer using Google.com

Search for 

timer 2s
Here s, stands for seconds

timer 2 or timer 2h
if nothing is specified then hour or h denotes hour

timer 2m
m for minutes