Fix display snippet
This commit is contained in:
parent
885bc6bbec
commit
84f6c8d58b
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
||||||
# Accessible via $Display.Width and $Display.Height
|
# Accessible via $Display.Width and $Display.Height
|
||||||
Add-Type -AssemblyName System.Windows.Forms
|
Add-Type -AssemblyName System.Windows.Forms
|
||||||
$Display = [System.Windows.Forms.Screen]::AllScreens | Where-Object Primary | Select Bounds
|
$Display = ([System.Windows.Forms.Screen]::AllScreens | Where-Object Primary).Bounds
|
Loading…
Add table
Reference in a new issue