showtext(str)
{
y := A_ScreenHeight - 88 ;;y is the y-coordinate of the prompting window
Gui,Destroy
Gui,+AlwaysOnTop +Disabled -Caption -SysMenu +Owner +LastFound
WinGet,hwnd,ID
Gui, font, s26 cFF0000 w600, Verdana
Gui, Color, FF0001
WinSet, TransColor, FF0001
Gui,Add,Text,BackgroundTrans,%str%
Gui, Show, NoActivate Y%y% NA, Title of Window
Sleep,1000
Gui,Destroy
}
[FUNC]AutoHotkey提示信息,只显示彩色文字 比如红色文字
最新推荐文章于 2024-07-23 09:44:48 发布