2016-03-12 72 views
1
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. 
#Warn ; Enable warnings to assist with detecting common errors. 
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. 
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. 
#SingleInstance force 
; empty window sample 

Gui, Show , w260 h100, Temmie Clipper 
Gui, Add, Button, gINTRO ,Hoi 
Gui, Add, Button, gBount ,Bount 
Gui, Add, Button, gDog ,Dogresidu 
return 
INTRO: 
{ 
clipboard = hOI!!! i'm temmie 

} 
Bount: 
{ 
clipboard = giv temmie dogresidu... NOW!!!! 

} 

Dog: 
{ 

clipboard = us tems are normally BOUNTS! 




} 

回答

1

这些是标签,而不是函数,所以它们不会自动返回。因此,如果按下任何按钮,执行总是进行到最后一条指令clipboard = us tems are normally BOUNTS!

更改语法:

INTRO: 
    clipboard = hOI!!! i'm temmie 
return 

而对于唱片公司做同样的:BountDog

+0

哦,我的天哪!谢谢你太多了! – BatchProgrammer