多个热字串对应一个文本 Topic is solved

遇到了问题?请先进行搜索(中文和英文),然后在此提问

Moderators: tmplinshi, arcticir

liquidsnake9
Posts: 4
Joined: 23 Aug 2023, 01:17

多个热字串对应一个文本

Post by liquidsnake9 » 23 Aug 2023, 01:22

我尝试用

Code: Select all

::abc::
::dds::
(
替换文本
)
这种方法,好像并不支持这种写法

WKen
Posts: 200
Joined: 21 Feb 2023, 00:01

Re: 多个热字串对应一个文本  Topic is solved

Post by WKen » 23 Aug 2023, 07:51

Code: Select all

#Requires AutoHotkey v2.0
::abc::
::dds::
{
    sendText '
    (
    替换文本
	替换文本
    )'
}

Code: Select all

#Requires AutoHotkey v2.0
::abc::
::dds::
{
    sendText '替换文本`n替换文本'
}

liquidsnake9
Posts: 4
Joined: 23 Aug 2023, 01:17

Re: 多个热字串对应一个文本

Post by liquidsnake9 » 23 Aug 2023, 20:18

WKen wrote:
23 Aug 2023, 07:51

Code: Select all

#Requires AutoHotkey v2.0
::abc::
::dds::
{
    sendText '
    (
    替换文本
	替换文本
    )'
}

Code: Select all

#Requires AutoHotkey v2.0
::abc::
::dds::
{
    sendText '替换文本`n替换文本'
}
可用,顺便问下热字串是不是不支持中文

WKen
Posts: 200
Joined: 21 Feb 2023, 00:01

Re: 多个热字串对应一个文本

Post by WKen » 24 Aug 2023, 06:33

应该不支持

Post Reply

Return to “请求帮助”