Fix display snippet
parent
885bc6bbec
commit
84f6c8d58b
|
@ -1,3 +1,3 @@
|
|||
# Accessible via $Display.Width and $Display.Height
|
||||
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…
Reference in New Issue