首页 > 解决方案 > 如何使用自动键创建带有花括号的脚本

问题描述

我想创建一个会键入 {{' 的脚本,但我无法让它编写我的 {{

这是我的代码:

^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.
Send ,{{'

标签: autohotkey

解决方案


如果您只想发送文本,请尝试使用文本模式,如下所示:

SendInput {text}{{'

推荐阅读