61 Star 284 Fork 43

天黑请闭眼 / 影子输入法

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Yzime.ahk 2.84 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
天黑请闭眼 提交于 2020-09-20 20:06 . No commit message
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;~ 作 者: 河许人 && 天黑请闭眼
;~ 环境 版本: Autohotkey v1.1.32.00 Win10Pro
; 部分自定义设置(热键修改等)可以写入主目录\Lib\usercustoms.ahk文件中
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#NoEnv
#MaxMem 2048
#NoTrayIcon
#KeyHistory 0
#SingleInstance Off
#MaxHotkeysPerInterval 400 ; receive 400 Hotkeys per 2 seconds
hMutex:=DllCall("CreateMutex", "Ptr", 0, "Int", 0, "Str", "Yzime_Run_OnlyOne")
If (DllCall("GetLastError")=183)
ExitApp
OnExit, Exit
ListLines, Off
SetBatchLines, -1
SetKeyDelay, 0, 0
DetectHiddenWindows, On
Process, Priority,, High
CoordMode, Caret, Screen
CoordMode, Mouse, Screen
CoordMode, ToolTip, Screen
SetWorkingDir %A_ScriptDir%
CloseOtherYZ()
OnClipboardChange("ClipChanged")
OnMessage(0x201, "WM_LBUTTONDOWN")
OnMessage(0x4a, "Receive_WM_COPYDATA")
OnMessage(0x11, "WM_QUERYENDSESSION")
OnMessage(0x16, "WM_ENDSESSION")
OnMessage(0x444, "WM_TSFMSG")
eng_key:="'"
func_key:="/"
lspy_key:="z"
srf_symbol:={"``":["``","·"], "~":["~","~"], "!":["!","!"], "@":["@","@"], "#":["#","#"], "$":["$","¥"], "%":["%","%"], "^":["^","……"], "&":["&","&"], "*":["*","*"], "(":["(","(){Left}"], ")":[")",")"]
, "_":["_","——"], "-":["-","-"], "+":["+","+"], "=":["=","="], "[":["[","【】{Left}"], "]":["]","】"], "{":["{","{}{Left}"], "}":["}","}"], "\":["\","、"], "|":["|","|"], ";":[";",";"], ":":[":",":"]
, "'":["'","‘’{Left}"], """":["""","“”{Left}"], "<":["<","《》{Left}"],">":[">","》"],",":[",",","],".":[".","。"], "/":["/","/"], "?":["?","?"]}
Gosub srf_init
Menu Tray, Icon
SetTimer, EmptyMem, 30000
EmptyMem(), DllCall("CloseHandle", "Ptr", hMutex), hMutex:=0
Return
; Include
#Include %A_ScriptDir%
#Include Lib\Yzlibfunc.ahk ; 常用函数库
#Include Lib\keylist.ahk ; 热键设置
#Include Lib\Gdip.ahk ; Gdip类库
#Include Lib\EasyIni.ahk ; ini类库
#Include Lib\Class_SQLiteDB.ahk ; SQLite类库
#Include Lib\ToolTip.ahk ; ToolTip样式
#Include Lib\DrawHXGUI.ahk ; Gdip样式候选框
#Include Lib\srf_Init.ahk ; 初始化
#Include Lib\srf_IME.ahk ; 找词、功能跳转、显示候选
#Include Lib\srf_func.ahk ; 输入法上屏等函数
#Include Lib\srf_Option.ahk ; 选项界面
#Include Lib\Ciku_Manager.ahk ; 词库管理界面
#Include Lib\functions.ahk ; 内置命令模块
#Include Lib\suanfa_pinyin.ahk ; 拼音类算法
; #Include Lib\suanfa_sanma.ahk ; 二三码混打算法(2码+1辅助码)
#Include Lib\suanfa_xingma.ahk ; 非全拼类算法
#Include Lib\suanfa_lianda.ahk ;
AutoHotkey
1
https://gitee.com/orz707/Yzime.git
git@gitee.com:orz707/Yzime.git
orz707
Yzime
影子输入法
master

搜索帮助

14c37bed 8189591 565d56ea 8189591