为你的脚本添加微信推送功能吧!AHK调用Server酱

如果没有key需要到https://sct.ftqq.com/sendkey注册,免费用户每天只能发送5条

LC_UriEncode(Uri, RE="[0-9A-Za-z]") {
    VarSetCapacity(Var, StrPut(Uri, "UTF-8"), 0), StrPut(Uri, &Var, "UTF-8")
    While Code := NumGet(Var, A_Index - 1, "UChar")
        Res .= (Chr:=Chr(Code)) ~= RE ? Chr : Format("%{:02X}", Code)
    Return, Res
}

;https://sctapi.ftqq.com/****.send?title=messagetitle&desp=messagecontent
sendkey:="填入你自己的key"
title:="title=" LC_UriEncode("这是一个标题啦啦啦啦啦")
desp:="desp=" LC_UriEncode("这里是内容呦!")
url:="https://sctapi.ftqq.com/" sendkey ".send?" title "&" desp
whr := ComObjCreate("WinHttp.WinHttpRequest.5.1")
whr.Open("POST", url, true)
whr.Send()
; Using 'true' above and the call below allows the script to remain responsive.
whr.WaitForResponse()
MsgBox % whr.ResponseText
; Clipboard:=% whr.ResponseText
; MsgBox % url
; Clipboard:= % url

为你的脚本添加微信推送功能吧!AHK调用Server酱

为你的脚本添加微信推送功能吧!AHK调用Server酱

为你的脚本添加微信推送功能吧!AHK调用Server酱

给TA捐赠
共{{data.count}}人
人已捐赠
其他应用

ahk编辑器增强套件2-工程文件快速打开工作区的指定

2022-9-8 11:19:45

其他

【已停用】AHK包管理工具——PIA(package installer of autohotkey)

2022-9-9 9:43:17

4 条回复 A文章作者 M管理员
  1. AHK中文社区

    ?

  2. AHK中文社区
    1河许人给您捐赠了¥2
  3. 五分钟

    是只能给自己的微信账号发信息吗

    • Krystal

      有对方server酱的key就可以发

个人中心
购物车
优惠劵
有新私信 私信列表
搜索