最后,给出我的完整代码供大家参考: #Requires AutoHotkey v2.0 #Include <JSON> #Include <GDIP_ALL> url:= "" api:= "" models:= ["",] w_model:= 1 langs:=["中文", "英文",] t_lang:= 1 url_ocr:= "" api_ocr:= "" models_ocr:= ["",] w_model_ocr:= 1 ^+d:: translate()...
#Requires AutoHotkey v2.0-beta #Requires AutoHotkey v2.0 2 changes: 1 addition & 1 deletion2WindowSpy.ahk Original file line numberDiff line numberDiff line change Expand Up@@ -2,7 +2,7 @@ ;Window Spy for AHKv2 ; #Requires AutoHotkey v2.0-beta ...
#Requires AutoHotkey v2.0 CATIA := ComObjActive("CATIA.Application") ; 定义 WinAPI 函数 CreateThread := "Kernel32\CreateThread" WaitForSingleObject := "Kernel32\WaitForSingleObject" CloseHandle := "Kernel32\CloseHandle" ; 定义 等待 函数的调用,而不使用自带Sleep函数 Pause(milliseconds) { DllCall("kerne...
Since update to the latest version V1 files, .ahk, are recognised as V2 files, by this I mean the current language mode is set to AutoHotkeyV2. I have yet to start using V2, a few libraries that I count on have yet to ported over to V2, ...
AutoHotKey v2.0 定义快捷键 ;Win+方向键切换桌面 ;F4键切换桌面 ;鼠标扩展键单击关闭页签,双击关闭窗口 ;今天测试通过,引起强烈的分享欲望 #Requires AutoHotkey v2.0 #n::Run("notepad.exe") #Right::Next() #Left::Next() F4::Next() XButton1::Close()...
Removed: TF_GetCSV, TF_SetCSV to keep the focus on TXT files, CSV requires a different library IMHO (HugoV) Introduced:MakeMatchListand adjusted TF_ReadLines, TF_RemoveLines, TF_InsertPrefix, TF_InsertSuffix, TF_TrimLeft, TF_TrimRight, TF_ColGet, TF_ColPut, TF_ColCut accordingly (Hugo...