[AHK]一键呼叫隐藏微信(热键Capslock+w),未启动微信则直接启动

liuyukuan:

;功能:一键呼叫隐藏微信(热键Capslock+w),未启动微信则直接启动

;作者:sunwind

;时间:2018年12月10日

;2025-08-14 更新适配新版微信

;最新版网址:https://blog.csdn.net/liuyukuan/article/details/84936976

#SingleInstance,force

wxhwnd:=0

CapsLock & w::

WeChat:="ahk_class Qt51514QWindowIcon"

WeChat_path:="C:\Program Files\Tencent\Weixin\Weixin.exe"

if ProcessExist("Weixin.exe")=0

Run, %WeChat_path%

else

{

if (wxhwnd=0)

WinGet,wxhwnd,ID,%WeChat%

if WinExist(WeChat)

winhide % "ahk_id " wxhwnd

else

winshow % "ahk_id " wxhwnd

}

return

ProcessExist(exe){ ;一个自定义函数,根据自定义函数的返回值作为#if成立依据原GetPID

Process, Exist,% exe

return ErrorLevel

}

[AHK]通达信联动到同花顺下单

紫云雾里看花:

老师你好,才看到你的通达信联动同花顺交易,不熟悉购买安装等事项,麻烦指导一下。

[AHK]一键呼叫隐藏微信(热键Capslock+w),未启动微信则直接启动

liuyukuan:

据说 class 改为

Qt51514QWindowIcon

等闲下来我验证下

[AHK]一键呼叫隐藏微信(热键Capslock+w),未启动微信则直接启动

xiao__xin_:

大神,感谢你的分享。最近微信有更新版本,适用不了,会出错。可以 更新一下吗,小白求求你了。感谢您

[AHK]让当前脚本开机自动启动

always_baian:

autostart := 1

autostartLnk := A_StartupCommon . "\Asikeida的脚本.lnk"

;----------auto start-------------

if autostart ;如果开启开机自启动

{

if FileExist(autostartLnk) {

lnkTarget := ""

FileGetShortcut(autostartLnk, &lnkTarget)

if (lnkTarget != A_ScriptFullPath)

FileCreateShortcut(A_ScriptFullPath, autostartLnk, A_WorkingDir)

}

else {

FileCreateShortcut(A_ScriptFullPath, autostartLnk, A_WorkingDir)

}

}

else {

if FileExist(autostartLnk) {

FileDelete(autostartLnk)

}

}

autohotkey V2版本的用这个,只是语法变了一点

Copyright © 2088 俄罗斯世界杯主题曲_世界杯下一届 - pin8pin8.com All Rights Reserved.
友情链接