Autohotkey Gui剪贴板不工作

Autohotkey Gui剪贴板不工作,autohotkey,Autohotkey,这些是标签,不是函数,因此它们不会自动返回。因此,执行始终进行到最后一条指令,即clipboard=us TEM通常为BOUNT,如果按下任何按钮 将语法更改为: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Warn ; Enable warnings to assist with detecting common errors. SendMode Input

这些是标签,不是函数,因此它们不会自动返回。因此,执行始终进行到最后一条指令,即
clipboard=us TEM通常为BOUNT,如果按下任何按钮

将语法更改为:

#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!




}

对标签也一样:
Bount
Dog

噢,天哪!非常感谢你!
INTRO:
    clipboard = hOI!!! i'm temmie
return