SilkyFowl / SetWindowTransparency

Set window transparency using Win32 API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SetWindowTransparency

ウィンドウの透過度を操作するPowershellモジュールです。 UWP非対応。

これは何?

指定したプロセスが保持するウィンドウの透過度を変更できます。 昔使っていたソフトがうまく動かなかったのでPowershellによる開発、リポジトリ管理の練習も兼ねて自作することにしました。

使い方

Import-Module .\SetWindowTransparency.psm1

# Set transparency 160
Get-Process notepad | Set-WindowTransparency 160

# Set transparency 255
Get-Process notepad | Set-WindowTransparency 255

開発環境

OS : Windows10 Powershell : v7.0

ToDo

  • readmeの日本語化
  • コメント付与
  • Pesterによるテスト

ライセンス

MIT

作者

SilkyFowl

About

Set window transparency using Win32 API.

License:MIT License


Languages

Language:C# 54.1%Language:PowerShell 45.9%