射击类游戏鼠标准心工具,以csgo为例的入门处女座

 

希望各位大佬们多多提出宝贵建议,个人感觉应该可以简化很多,属于入门电插座了。哈哈。

为交流使用,不做其他用途。

射击类游戏鼠标准心工具,以csgo为例的入门处女座

F8关闭准心   F9开启准心/改变准心式样   F10改变准心颜色

以下为代码

c:=0
a:=0 ;模式
b:=0  ;颜色

zx:=0
zy:=0
zzx:=0
zzy:=0
; dx:=20.5+zx
; dy:=62.35+zy

^Left::
zx-=3.3
zbx:=10.5+zx 
zby:=62.35+zy
ybx:=40.5+zx
yby:=62.35+zy 
sbx:=29.8+zx
sby:=44.35+zy
xbx:=29.8+zx
xby:=76.35+zy
dbx:=zbx+10
if (b=1)
{
    Gui, Destroy
xs=cFF0100 ;r
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate  

}
}
if (b=2)
{
    Gui, Destroy
xs=c00FF01 ;g
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
}
if (b=3)
{
    Gui, Destroy
xs=c0000FF ;b
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 

}
}
if (a > 3)
{
a:=0
}
if (b > 3)
{
b:=0
}
return

^Right::
zx+=3.3
zbx:=10.5+zx 
zby:=62.35+zy
ybx:=40.5+zx
yby:=62.35+zy 
sbx:=29.8+zx
sby:=44.35+zy
xbx:=29.8+zx
xby:=76.35+zy
dbx:=zbx+10
if (b=1)
{
    Gui, Destroy
xs=cFF0100 ;r
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate  

}
}
if (b=2)
{
    Gui, Destroy
xs=c00FF01 ;g
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
}
if (b=3)
{
    Gui, Destroy
xs=c0000FF ;b
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 

}
}
if (a > 3)
{
a:=0
}
if (b > 3)
{
b:=0
}
return

^Up::
zy-=3.3
zbx:=10.5+zx 
zby:=62.35+zy
ybx:=40.5+zx
yby:=62.35+zy 
sbx:=29.8+zx
sby:=44.35+zy
xbx:=29.8+zx
xby:=76.35+zy
dbx:=zbx+10
if (b=1)
{
    Gui, Destroy
xs=cFF0100 ;r
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate  

}
}
if (b=2)
{
    Gui, Destroy
xs=c00FF01 ;g
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
}
if (b=3)
{
    Gui, Destroy
xs=c0000FF ;b
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 

}
}
if (a > 3)
{
a:=0
}
if (b > 3)
{
b:=0
}
return

^Down::
zy+=3.3
zbx:=10.5+zx 
zby:=62.35+zy
ybx:=40.5+zx
yby:=62.35+zy 
sbx:=29.8+zx
sby:=44.35+zy
xbx:=29.8+zx
xby:=76.35+zy
dbx:=zbx+10
if (b=1)
{
    Gui, Destroy
xs=cFF0100 ;r
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate  

}
}
if (b=2)
{
    Gui, Destroy
xs=c00FF01 ;g
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
}
if (b=3)
{
    Gui, Destroy
xs=c0000FF ;b
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 

}
}
if (a > 3)
{
a:=0
}
if (b > 3)
{
b:=0
}
return

zbx:=10.5+zx 
zby:=62.35+zy
ybx:=40.5+zx
yby:=62.35+zy 
sbx:=29.8+zx
sby:=44.35+zy
xbx:=29.8+zx
xby:=76.35+zy
dbx:=zbx+10

F10:: ;颜色
b++
; MsgBox %b%    %a%     %xs%
if (b=1)
{
    Gui, Destroy
xs=cFF0100 ;r
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate  

}
}
if (b=2)
{
    Gui, Destroy
xs=c00FF01 ;g
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
}
if (b=3)
{
    Gui, Destroy
xs=c0000FF ;b
if (a=1)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
}
if (a > 3)
{
a:=0
}
if (b = 4)
{
b:=0
}
return

F9::
; xs=cFFFFFF
if (xs=0)
{
    xs=cFFFFFF
}
a++
zbx:=10.5+zx 
zby:=62.35+zy
ybx:=40.5+zx
yby:=62.35+zy 
sbx:=29.8+zx
sby:=44.35+zy
xbx:=29.8+zx
xby:=76.35+zy

dbx:=zbx+10

Gui, Destroy
if (a=1)
{
    Gui, Destroy
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , +
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=2)
{ 
    Gui, Destroy
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow 
Gui, Color, %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%dbx% y%zby% c%xs% , ·
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
else if (a=3)
{

Gui, Destroy
ys := "EEEEEE" 
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ;+
Gui, Color,  %ys%
Gui, Font, cFFFFAA s16  
WinSet, TransColor, %ys%  255
WinSet, ExStyle, ^0x00000020 
Gui, Add, Text, x%zbx%  y%zby%  c%xs% , - ;左
Gui, Add, Text, x%ybx%  y%yby%  c%xs% , - ;右
Gui, Add, Text, x%sbx%  y%sby%  c%xs% , ׀   ;上
Gui, Add, Text, x%xbx%  y%xby%  c%xs% , ׀    ;下
Gui, Add, Text, x1800 y1060 cred ,  
Gui, Show, x600 y300 NoActivate 
}
if (a > 3)
{
a:=0
}
if (b > 3)
{
b:=0
}
return

F8::Reload

return

给TA捐赠
共{{data.count}}人
人已捐赠
应用教程

AHKinfo工具修改版以及修改方法教程

2022-9-1 6:59:41

其他应用

windows效率之道

2022-9-2 9:27:12

7 条回复 A文章作者 M管理员
  1. dbgba

    不错的

    • 特罗

      ??多谢db师傅

  2. hexuren

    看效果是不错的,加油

    • 特罗

      ??多谢何许人师傅

  3. usnake

    学习学习

    • 特罗

      主要代码是这一段。你复制修改试试效果看看能不能达到你的需求。 Gui +LastFound +AlwaysOnTop -Caption +ToolWindow Gui, Color, %ys% Gui, Font, cFFFFAA s16 WinSet, TransColor, %ys% 255 WinSet, ExStyle, ^0x00000020 Gui, Add, Text, xx% y%zby% c%xs% , + Gui, Add, Text, x1800 y1060 cred , Gui, Show, x600 y300 NoActivate

    • usnake

      我仔细研读了,发现我应该创建一个新的GUI更改不同的背景色来使他透明,因为在一个GUI里面 设置了透明色不管是第几个图层,都会透明

个人中心
购物车
优惠劵
有新私信 私信列表
搜索