powershell script to disable screensaver
#The below script will trigger dot key every 60 secs
param($minutes = 60) #//Duration. Until 60 mins below script will run
$myshell = New-Object -com "Wscript.Shell"
for ($i = 0; $i -lt $minutes; $i++) {
Start-Sleep -Seconds 60 #//every 60 secs dot key press
$myshell.sendkeys(".")
}
Also in C++:
- installing a specific version of tensorflow
- navigate to end shell
- install zsh ubuntu
- disk usage linux
- linux pptx to pdf
- install jira
- how to upgrade node.js
- github insert gif
- install webpack cli
- create swap file
- sed remove line after match
- command prompt change directory to network drive
- how to collect values from each iteration of a loop and save them bash
- update mongodb version to 4 ubuntu
- tasksel
- delete a folder then git push
- linux high load send mail
- how to install sublime in ubuntu 20.04 using terminal
- telnet in shell script
- apt-get install plex
- parrot os postman download
- bash cd too many arguments
- cors package install npm
- bash store pipe output in variable