Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell keep skype active

#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(".")
}
Source by dmitrysotnikov.wordpress.com #
 
PREVIOUS NEXT
Tagged: #powershell #skype #active
ADD COMMENT
Topic
Name
9+6 =