Search found 7 matches

by cusong
20 Jul 2022, 06:15
Forum: 脚本函数
Topic: Python的AutoHotkeyHv2 dll 库
Replies: 0
Views: 2200

Python的AutoHotkeyHv2 dll 库

详见: https://github.com/leplexion/Lep_Ahk2.py 在Python中调用 Autohotkey H v2 dll 的功能库, 可设置热键, 调用所有ahk功能等 方法: init(self, dllpath:str='', title:str='', cmdline:str='') # just entry the dllpath param / 正常使用只要填入 dllpath add_pyfn(self, pyfunc, alias:str='') # add python function for autohotkey del_pyhk(self, ...
by cusong
20 Jul 2022, 06:13
Forum: AutoHotkey_H
Topic: Python AutohotkeyHv2 dll lib
Replies: 0
Views: 2051

Python AutohotkeyHv2 dll lib

more detail: https://github.com/leplexion/Lep_Ahk2.py use Autohotkey H v2 dll in python, you can set hotkey on python or use all autohotkey functions 在Python中调用 Autohotkey H v2 dll 的功能库, 可设置热键, 调用所有ahk功能等 init(self, dllpath:str='', title:str='', cmdline:str='') # just entry the dllpath param / 正常使用只...
by cusong
04 Apr 2022, 05:15
Forum: 教程资料
Topic: 虚荣手记:关于外挂与自动化开发的泛姿势总结(上篇)
Replies: 0
Views: 4197

虚荣手记:关于外挂与自动化开发的泛姿势总结(上篇)

# 虚荣手记:关于外挂与自动化开发的泛姿势总结(上篇) # 前言 * 鄙人是坚定的共产主义信仰者兼骄傲的无产阶级革命志士, 并承诺遵守我国法律法规 * 对先进科学技术探索与分享是吾辈的本分, 愿祖国因信息技术的繁荣而繁荣 # 正文前言 一天晚上有个做web前端开发朋友, 可能随口问了关于那些偏门开发的道道 当时没有好好回答, 睡前琢磨了一番, 第二天手机打了三屏字给他 本文尽量不涉及特别具体工具的姿势, 算是一篇总结性质的概念扫盲文章 做了简单的润色, 希望入得看客的法眼, 也希望大佬们莫嘲笑笔者的浅薄吧 诸如 针对游戏的 外挂 / 辅助 / 脚本(黑话), 针对办公软件的 办公自动化程序 ...
by cusong
07 Feb 2020, 16:15
Forum: Ask for Help (v1)
Topic: can HotString exec by key counts ? Topic is solved
Replies: 2
Views: 462

Re: can HotString exec by key counts ? Topic is solved

Hallo, try: #Hotstring EndChars -()[]{}:;'"\,.?!`n `t ;without EndChar / ::///::c :://::b ::/::a or: :*b0X:///::SendInput, {Bs 2}c :*b0X://::SendInput, {Bs 2}b :*b0X:/::SendInput, {Bs}a thank you very much. kind hero. it worked, and stable. ;----------- ;final: ;----------- #Hotstring EndChars -()[...
by cusong
06 Feb 2020, 16:59
Forum: Ask for Help (v1)
Topic: can HotString exec by key counts ? Topic is solved
Replies: 2
Views: 462

can HotString exec by key counts ? Topic is solved

::/::a
:://::b
::///::c

when I tap "///" still replayce to "a"
will it work by any HotString option?
by cusong
14 Jun 2019, 11:07
Forum: Ask for Help (v1)
Topic: How get process return string from CMD and hide the CMD window?
Replies: 1
Views: 563

Re: How get process return string from CMD and hide the CMD window?

I got it... StdoutToVar_CreateProcess(sCmd, bStream="", sDir="", sInput="") { ;Msgbox % sOutput := StdoutToVar_CreateProcess("ipconfig") ;MsgBox % sOutput := StdoutToVar_CreateProcess("cmd.exe /c dir", "", "c:\") ;;指定运行目录 ;MsgBox % sOutput := StdoutToVar_CreateProcess("sort.exe", "", "", "abc`r`nefg...
by cusong
14 Jun 2019, 08:52
Forum: Ask for Help (v1)
Topic: How get process return string from CMD and hide the CMD window?
Replies: 1
Views: 563

How get process return string from CMD and hide the CMD window?

first, sorry for my poor English level... example from AHK DOC using ComObjCreate("WScript.Shell") and obj.StdOut.ReadAll() can get it. but it always flash the CMD black window... I find a code writen by c++, it use windows API [CreatePipe] / [CreateProcess] make it work, I try to translate to AHK b...

Go to advanced search