autohotkey - 如何使用自动键创建带有花括号的脚本
问题描述
我想创建一个会键入 {{' 的脚本,但我无法让它编写我的 {{
这是我的代码:
^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 ,{{'
解决方案
如果您只想发送文本,请尝试使用文本模式,如下所示:
SendInput {text}{{'
推荐阅读
- node.js - 为什么我的 json 在 nodejs 函数中返回附加了 Promise?
- jquery - 如何在使用 jquery 或 Asp.Net MVC 中获取更新的平均持续时间
- javascript - 当球的速度更快时游戏循环失败
- php - 内容类型不随 curl 改变
- android - 致命错误:../../src/modules/utility/source/helpers_android.cc,第 74 行
- c++ - 如何在同一位置打印两个 setfill()
- ios - iOS AudioQueue - 请求 1 个通道时立体声麦克风会发生什么情况?
- ansible - Ansible 编辑 json 对象数组或在未定义时对不同的值进行排序
- sql - 使用带有表值参数的存储过程使用 PowerShell 填充时态 SQL DB 表
- vue.js - vue.prototype 在 vue cli 的 sweealert 上未定义