Initial commit with translated description
This commit is contained in:
13
keyboard_control.ps1.txt
Normal file
13
keyboard_control.ps1.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
param (
|
||||
[string]$Text,
|
||||
[string]$Key
|
||||
)
|
||||
|
||||
Add-Type -AssemblyName System.Windows.Forms
|
||||
|
||||
if ($Text) {
|
||||
[System.Windows.Forms.SendKeys]::SendWait($Text)
|
||||
}
|
||||
if ($Key) {
|
||||
[System.Windows.Forms.SendKeys]::SendWait($Key)
|
||||
}
|
||||
Reference in New Issue
Block a user