win+enter_窗体顶置.ahk 223 B

12345
  1. #space::
  2. WinGetActiveTitle, w ;将当前激活窗口存入变量w
  3. Winset, AlwaysOnTop, Toggle, %w% ;对w窗口置顶,Toggle表示在on 与 off 中切换
  4. WinSet, Transparent, 200, A ;透明0-255
  5. Return