Skip to content

Instantly share code, notes, and snippets.

Working from home

Tarragon corberan

Working from home
View GitHub Profile
corberan / get_window_info_powershell.ps1
Last active Nov 10, 2018
powershell 和 winapi 的交互,获取窗口大小及边框大小
View get_window_info_powershell.ps1
using namespace System;
using namespace System.Diagnostics;
using namespace System.Runtime.InteropServices;
param (
[Parameter(Mandatory = $True)]
Add-Type -TypeDefinition @"
You can’t perform that action at this time.