桂剪贴板不工作

时间:2016-03-12 04:18:45

标签: autohotkey

#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 个答案:

答案 0 :(得分:1)

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

将语法更改为:

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

对标签执行相同操作:BountDog

相关问题