misc/save every 5 and commit.ps1

10 lines
238 B
PowerShell
Raw Normal View History

2021-07-04 06:33:46 -04:00
Add-Type -AssemblyName System.Windows.Forms
write-host "hi I'mma save"
while($true){
start-sleep 300;
[System.Windows.Forms.SendKeys]::SendWait("^s")
git add .
git commit -m "auto"
write-host "save keys sent, $(get-date)"
}