Updated so it will stop as soon as you hit stop
This commit is contained in:
@@ -38,8 +38,10 @@
|
|||||||
while($sync["x"] -eq 1){
|
while($sync["x"] -eq 1){
|
||||||
$keys = $keys -split ","
|
$keys = $keys -split ","
|
||||||
Foreach ($key in $keys){
|
Foreach ($key in $keys){
|
||||||
Start-Sleep -Milliseconds 500
|
if ($sync["x"] -eq 1){
|
||||||
[System.Windows.Forms.SendKeys]::SendWait("{$key}")
|
Start-Sleep -Milliseconds 500
|
||||||
|
[System.Windows.Forms.SendKeys]::SendWait("{$key}")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).AddArgument($Keys)
|
}).AddArgument($Keys)
|
||||||
|
|||||||
Reference in New Issue
Block a user