aly revised this gist . Go to revision
1 file changed, 6 insertions
toggle-mousekeys.ps1(file created)
| @@ -0,0 +1,6 @@ | |||
| 1 | + | Add-Type -AssemblyName System.Windows.Forms; | |
| 2 | + | start-process ms-settings:easeofaccess-mouse; | |
| 3 | + | Start-Sleep -Milliseconds 500; | |
| 4 | + | [System.Windows.Forms.SendKeys]::SendWait(' '); | |
| 5 | + | Start-Sleep -Milliseconds 500; | |
| 6 | + | [System.Windows.Forms.SendKeys]::SendWait(' '); | |
Newer
Older