AHK

#b::
;SetTitleMatchMode, 2 ;设定ahk匹配窗口标题的模式
winactivate,A ; 激活此窗口
sleep, 500 ; 延时,确保
WinSet, Style, -0xC00000,A  ;去掉标题栏
return

#t::
winset,AlwaysOnTop,, A ;;窗口置顶
return

#o::
WinSet,Transparent,230,A ;使得窗口变透明。取值范围0-255.0为完全透明,255完全不透明。
return

#r:: 
winset,AlwaysOnTop,off, A ;取消窗口置顶
WinSet,Transparent,255,A ;取消透明
WinSet,Style,+0xC00000,A ;恢复标题栏
return 

;用snipaste实现快速保存屏幕截图
#s::
Send {F1}
Sleep 100
Send ^a
Sleep 100
Send ^+s
return
posted @ 2020-07-30 14:00  reasoner  阅读(130)  评论(0编辑  收藏  举报