1 Star 0 Fork 18

haohao036 / Autohotkey中文化项目

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
GPL-2.0

AutoHotkey 中文化项目

这是一个AutoHotkey汉化项目 准备为ahk脚本添加中文关键字和中文方法 键名 实现中文编程 同时兼容原英文脚本

#头指令

原版 中文
#Include #导入
#IncludeAgain #再次导入
#DllLoad #加载动态库/#加载DLL
#NoTrayIcon #无托盘图标
#Persistent #持续运行
#SingleInstance #单例模式
#InstallKeybdHook #安装键盘钩
#InstallMouseHook #安装鼠标钩
#UseHook #强制使用钩
#HotIf #动态判断
#HotIfTimeout #动态判断超时
#Hotstring #动态字符串
#HotkeyModifierTimeout #修饰热键超时
#HotkeyInterval #热键频率
#MaxHotkeysPerInterval #最大热键频率
#MaxThreadsPerHotkey #单热键最大线程数
#MaxThreadsBuffer #最大线程缓冲
#MaxThreads #最大线程数
#SuspendExempt #避免挂起
#ClipboardTimeout #剪贴板超时
#WinActivateForce #强制激活窗口
#ErrorStdOut #命令行报错
#KeyHistory #键历史最大数目
#MenuMaskKey #掩饰键
#InputLevel #输入等级
#Warn #警告
#Requires #要求

关键字

(看起来有些内置函数乱入到了这里 (他确实就是在这里按关键字判断的函数

原版 中文
Static 静态
#HotIf #动态判断
If 如果
Else 否则
Loop 循环
Loop Files 遍历文件
Loop Reg 遍历注册表
Loop Read 循环读取
Loop Parse 循环转换
For 遍历
While 重复
Until 直到
Break 跳出
Continue 跳过
Goto 跳转
Return 返回
Try 尝试
Catch 捕获
Finally 收尾
Throw 报错
Switch 判断
Case
Exit 退出
ExitApp 退出应用
ToolTip 工具提示
TrayTip 托盘提示
RunAs 切换用户
Download 下载
Send 发送
SendText 发送文本
SendInput 发送输入
SendPlay 发送模拟
SendEvent 发送事件
SendMode 发送模式
SendLevel 发送等级
CoordMode 坐标模式
SetDefaultMouseSpeed 设置默认鼠标速度
Click 点击
MouseMove 鼠标移动
MouseClick 鼠标点击
MouseClickDrag 鼠标拖动
Sleep 等待
Critical 霸体
Thread 线程
WinMinimizeAll 最小化所有窗口
WinMinimizeAllUndo 最小化还原
GroupAdd 添加窗口组
GroupDeactivate 反激活窗口组
GroupClose 关闭窗口组
SoundBeep 声音蜂鸣
SoundPlay 声音播放
FileDelete 文件删除
FileRecycle 文件回收
FileRecycleEmpty 清空回收站
FileInstall 文件安装
FileCopy 文件复制
FileMove 文件移动
DirCopy 目录复制
DirMove 目录移动
DirCreate 目录创建
DirDelete 目录删除
FileSetAttrib 文件设置属性
FileSetTime 文件设置时间
SetWorkingDir 设置工作目录
FileCreateShortcut 创建快捷方式
IniWrite 配置写
IniDelete 配置删
OutputDebug 调试输出
SetKeyDelay 设置按键延迟
SetMouseDelay 设置鼠标延迟
SetWinDelay 设置窗口延迟
SetControlDelay 设置控件延迟
Suspend 挂起
Pause 暂停
BlockInput 禁止输入
SetNumlockState 设置小键盘锁
SetScrollLockState 设置滚动锁
SetCapslockState 设置大写锁
KeyHistory 按键记录
ListLines 记录列表
ListVars 变量列表
ListHotkeys 热键列表
Edit 编辑
Reload 重载
Shutdown 关机

内置函数

原版 中文
Abs 绝对值
ACos 反余弦
Array 数组
ASin 反正弦
ATan 反正切
BufferAlloc 创建缓冲区
CallbackCreate 创建回调
CallbackFree 释放回调
CaretGetPos 获取光标位置
Ceil 向上取整
Chr 字符
ClipboardAll 获取剪贴板
ClipWait 监听剪贴板
ComCall 组件调用
ComObjActive 组件对象激活
ComObjArray 组件对象数组
ComObjConnect 组件对象连接
ComObjCreate 组件对象创建
ComObject 组件对象ect
ComObjFlags 组件对象标志
ComObjGet 组件对象获取
ComObjQuery 组件对象查询
ComObjType 组件对象类型
ComObjValue 组件对象值
ControlAddItem 添加控件项
ControlChooseIndex 选择控件项
ControlChooseString 选择控件文本
ControlClick 点击控件
ControlDeleteItem 删除控件项
ControlFindItem 查找控件项
ControlFocus 设置焦点
ControlGetChecked 获取控件选中状态
ControlGetChoice 获取选中控件
ControlGetClassNN 获取控件类名编号
ControlGetEnabled 获取控件可用状态
ControlGetExStyle 获取控件扩展样式
ControlGetFocus 获取焦点控件
ControlGetHwnd 获取控件句柄
ControlGetIndex 获取控件索引
ControlGetItems 获取控件组
ControlGetPos 获取控件位置
ControlGetStyle 获取控件样式
ControlGetText 获取控件文本
ControlGetVisible 获取控件可见状态
ControlHide 隐藏控件
ControlHideDropDown 隐藏下拉列表
ControlMove 移动控件
ControlSend 发送操作到控件
ControlSendText 发送文本到控件
ControlSetChecked 设置单选框
ControlSetEnabled 设置控件可用
ControlSetExStyle 设置控件扩展样式
ControlSetStyle 设置控件样式
ControlSetText 设置控件文本
ControlShow 显示控件
ControlShowDropDown 显示下拉列表
Cos 余弦
DateAdd 时间偏移
DateDiff 取时间差
DetectHiddenText 检测隐藏文本
DetectHiddenWindows 检测隐藏窗口
DirExist 目录属性
DirSelect 目录选择框
DllCall 动态库调用
DriveEject 光驱托盘
DriveGetCapacity 获取驱动器总容量
DriveGetFilesystem 获取驱动器文件系统类型
DriveGetLabel 获取驱动器卷标
DriveGetList 获取驱动器列表
DriveGetSerial 获取驱动器序列号
DriveGetSpaceFree 获取驱动器剩余空间
DriveGetStatus 获取驱动器状态
DriveGetStatusCD 获取光盘状态
DriveGetType 获取驱动器类型
DriveLock 锁定驱动器
DriveSetLabel 设置驱动器卷标
DriveUnlock 解锁驱动器
EditGetCurrentCol 获取编辑框当前列
EditGetCurrentLine 获取编辑框当前行
EditGetLine 获取编辑框行内容
EditGetLineCount 获取编辑框行数
EditGetSelectedText 获取编辑框选中文本
EditPaste 粘贴到编辑框
EnvGet 获取环境变量
EnvSet 设置环境变量
Exception 异常
Exp 指数函数
FileAppend 附加
FileEncoding 设置文件编码
FileExist 文件是否存在
FileGetAttrib 获取文件属性
FileGetShortcut 获取快捷方式
FileGetSize 获取文件大小
FileGetTime 获取文件时间
FileGetVersion 获取文件版本
FileOpen 打开文件
FileRead 读文件
FileSelect 文件选择框
Float 浮点数
Floor 向下取整
Format 格式化字符串
FormatTime 格式化时间
Func 检索函数
GetKeyName 获取按键名
GetKeySC 获取按键扫描码
GetKeyState 获取按键状态
GetKeyVK 获取按键虚拟键码
GetMethod 获取方法
GroupActivate 激活窗口组
GuiCtrlFromHwnd 界面控件自句柄
GuiFromHwnd 界面自句柄
HasBase 是否基于
HasMethod 包含方法
HasProp 包含属性
HotIf 动态判断
HotIfWinActive 动态判断窗口激活
HotIfWinExist 动态判断窗口存在
HotIfWinNotActive 动态判断窗口未激活
HotIfWinNotExist 动态判断窗口不存在
Hotkey 热键
Hotstring 热词
IL_Add 图片列表_添加
IL_Destroy 图片列表_销毁
IL_Create 图片列表_创建
ImageSearch 找图
IniRead 读取配置
InputBox 输入框
InputHook 输入钩
InStr 查找
Integer 整数
IsAlnum 是否数词
IsAlpha 是否单词
IsByRef 是否传址
IsDigit 是否常数
IsFloat 是否浮点数
IsFunc 是否函数
IsInteger 是否整数
IsLabel 是否标签
IsLower 是否小写
IsNumber 是否数字
IsObject 是否对象
IsSet 是否赋值
IsSpace 是否空格
IsTime 是否时间
IsUpper 是否大写
IsXDigit 是否十六进制
KeyWait 等待按键
ListViewGetContent 获取项目列表
Ln 自然对数
LoadPicture 加载图片
Log 对数
LTrim 左修剪
Map 映射
Max 最大值
MenuFromHandle 菜单通过句柄
MenuSelect 选择菜单
Min 最小值
Mod 余数
MonitorGet 获取显示器
MonitorGetCount 获取显示器总数
MonitorGetName 获取显示器名称
MonitorGetPrimary 获取显示器编号
MonitorGetWorkArea 获取显示器工作区域
MouseGetPos 获取鼠标位置
MsgBox 信息框
NumGet 获取数值
NumPut 置数值
ObjAddRef 增加对象引用计数
ObjBindMethod 对象绑定方法
Object 对象
ObjFromPtr 对象自指针
ObjFromPtrAddRef 获取对象指针
ObjGetBase 获取父对象
ObjGetCapacity 获取对象容量
ObjHasOwnProp
ObjOwnMethods 枚举方法
ObjOwnPropCount 属性总数
ObjOwnProps 枚举属性
ObjPtr 对象指针
ObjPtrAddRef 对象指针地址
ObjRelease 减少对象引用计数
ObjSetBase 设置父对象
ObjSetCapacity 设置对象容量
OnClipboardChange 在剪贴板内容改变时
OnError 在报错时
OnExit 在退出时
OnMessage 在收到消息时
Ord 序号
PixelGetColor 获取像素颜色
PixelSearch 找色
PostMessage 投递消息
ProcessClose 关闭进程
ProcessExist 进程是否存在
ProcessSetPriority 设置进程优先级
ProcessWait 等待进程
ProcessWaitClose 等待进程关闭
Random 随机数
RandomSeed 设置随机数种子
RegDelete 删除注册表项
RegDeleteKey 删除注册表键
RegExMatch 正则匹配
RegExReplace 正则替换
RegRead 读注册表
RegWrite 写注册表
Round 四舍五入
RTrim 右修剪
Run 运行
RunWait 等待运行
SendMessage 发送消息
SetRegView 设置注册表视图
SetStoreCapsLockMode 设置大写锁定模式
SetTimer 设置定时器
SetTitleMatchMode 设置标题匹配模式
Sin 正弦
Sort 排序
SoundGetInterface 获取音频设备接口
SoundGetMute 获取音频设备静音状态
SoundGetName 获取音频设备名称
SoundGetVolume 获取音频设备音量
SoundSetMute 设置音频设备静音
SoundSetVolume 设置音频设备音量
SplitPath 分割路径
Sqrt 平方根
StatusBarGetText 获取状态栏文本
StatusBarWait 等待状态栏
StrCompare 比较字符串
StrGet 获取字符串
String 字符串
StringCaseSense
StrLen 字符串长度
StrLower 字符串小写
StrPtr 字符串指针
StrPut 置字符串
StrReplace 字符串替换
StrSplit 分割字符串
StrUpper 字符串大写
SubStr 截取字符串
SysGet 获取系统属性
SysGetIPAddresses 获取系统ip地址
Tan 正切
TraySetIcon 设置托盘图标
Trim 修剪
Type 类型
VarSetStrCapacity 设置变量容量
WinActivate 激活窗口
WinActivateBottom 激活底层窗口
WinActive 窗口已激活
WinClose 关闭窗口
WinExist 窗口存在
WinGetClass 获取窗口类名
WinGetClientPos 获取窗口客户端位置
WinGetControls 获取窗口控件
WinGetControlsHwnd 获取窗口控件句柄
WinGetCount 获取窗口总数
WinGetExStyle 获取窗口扩展样式
WinGetID 获取窗口句柄
WinGetIDLast 获取最新窗口句柄
WinGetList 获取窗口列表
WinGetMinMax 获取窗口大小状态
WinGetPID 获取窗口进程编号
WinGetPos 获取窗口位置
WinGetProcessName 获取窗口进程名称
WinGetProcessPath 获取窗口进程路径
WinGetStyle 获取窗口样式
WinGetText 获取窗口文本
WinGetTitle 获取窗口标题
WinGetTransColor 获取窗口透明色
WinGetTransparent 获取窗口透明度
WinHide 隐藏窗口
WinKill 结束窗口
WinMaximize 最大化窗口
WinMinimize 最小化窗口
WinMove 移动窗口
WinMoveBottom 置底窗口
WinMoveTop 置顶窗口
WinRedraw 重绘窗口
WinRestore 还原窗口
WinSetAlwaysOnTop 长期置顶窗口
WinSetEnabled 设置窗口启用
WinSetExStyle 设置窗口扩展样式
WinSetRegion 设置窗口形状
WinSetStyle 设置窗口样式
WinSetTitle 设置窗口标题
WinSetTransColor 设置窗口透明色
WinSetTransparent 设置窗口透明度
WinShow 显示窗口
WinWait 等待窗口
WinWaitActive 等待窗口激活
WinWaitClose 等待窗口关闭
WinWaitNotActive 等待窗口未激活

内置变量 | A_=>内_

原版 中文
AhkPath 主程序路径
AhkVersion 主程序版本
AllowMainWindow 允许主窗口
AppData 应用数据
AppDataCommon 常规应用数据
Clipboard 剪贴板
ComputerName 计算机名
ComSpec 命令行
ControlDelay 控件延迟
CoordModeCaret 光标坐标模式
CoordModeMenu 菜单坐标模式
CoordModeMouse 鼠标坐标模式
CoordModePixel 像素坐标模式
CoordModeToolTip 提示坐标模式
Cursor 鼠标光标类型
DD //日期
DDD 星期
DDDD 星期全称
DefaultMouseSpeed 默认鼠标速度
Desktop 桌面
DesktopCommon 常规桌面
DetectHiddenText 检测隐藏文本
DetectHiddenWindows 检测隐藏窗口
EndChar 终止符
EventInfo 事件信息
FileEncoding 文件编码
Hour
IconFile 图标文件
IconHidden 隐藏图标
IconNumber 图标编号
IconTip 图标提示
Index 循环次数
InitialWorkingDir 初始工作目录
Is64bitOS 是否64位系统
IsAdmin 是否管理员
IsCompiled 是否已编译
IsCritical 是否中断
IsPaused 是否暂停
IsSuspended 是否挂起
KeyDelay 按键延迟
KeyDelayPlay 模拟按键延迟
KeyDuration 按键持续时间
KeyDurationPlay 模拟按键持续时间
Language 语言
LastError 错误代码
LineFile 此文件路径
LineNumber 当前行号
ListLines 是否记录行
LoopField 循环属性
LoopFileAttrib 遍历文件属性
LoopFileDir 遍历文件目录
LoopFileExt 遍历文件扩展名
LoopFileFullPath 遍历文件全路径
LoopFileName 遍历文件名
LoopFilePath 遍历文件路径
LoopFileShortName 遍历文件短名
LoopFileShortPath 遍历文件短路径
LoopFileSize 遍历文件大小
LoopFileSizeKB 遍历文件大小KB
LoopFileSizeMB 遍历文件大小MB
LoopFileTimeAccessed 遍历文件访问时间
LoopFileTimeCreated 遍历文件创建时间
LoopFileTimeModified 遍历文件修改时间
LoopReadLine 循环读取行
LoopRegKey 遍历注册表键
LoopRegName 遍历注册表名
LoopRegTimeModified 遍历注册表修改时间
LoopRegType 遍历注册表类型
MDay
Min
MM
MMM 月份
MMMM 月份全称
Mon //Mon
MouseDelay 鼠标延迟
MouseDelayPlay 模拟鼠标延迟
MSec 毫秒
MyDocuments 我的文档
Now 时间
NowUTC 本地时间
OSVersion 系统版本号
PriorHotkey 最近热键名
PriorKey 最近按键名
ProgramFiles 程序文件
Programs 程序
ProgramsCommon 常规程序
PtrSize 指针大小
RegView 注册表视图
ScreenDPI 屏幕像素密度
ScreenHeight 屏幕高
ScreenWidth 屏幕宽
ScriptDir 脚本目录
ScriptFullPath 脚本全路径
ScriptHwnd 脚本句柄
ScriptName 脚本名
Sec
SendLevel 发送等级
SendMode 发送模式
Space 空格
StartMenu 开始菜单
StartMenuCommon 常规开始菜单
Startup 启动
StartupCommon 常规启动
StoreCapsLockMode 保持大写锁定
Tab 跳格
Temp 临时路径
ThisFunc 此函数
ThisHotkey 此热键
TickCount 系统运行时间
TimeIdle 空闲时间
TimeIdleKeyboard 键盘空闲时间
TimeIdleMouse 鼠标空闲时间
TimeIdlePhysical 物理空闲时间
TimeSincePriorHotkey 距离上次热键触发时间
TimeSinceThisHotkey 距离上次此热键触发时间
TitleMatchMode 标题匹配模式
TitleMatchModeSpeed 标题匹配速度
TrayMenu 托盘菜单
UserName 用户名
WDay //WDay
WinDelay 窗口延迟
WinDir 系统目录
WorkingDir 工作目录
YDay 年日
Year //Year
YWeek 年周
YYYY

按键名

原版 中文
LButton 鼠标左键
RButton 鼠标右键
MButton 鼠标中键
XButton1 鼠标后退
XButton2 鼠标前进
WheelDown 滚轮向下
WheelUp 滚轮向上
WheelLeft 滚轮向左
WheelRight 滚轮向右
Browser_Back 浏览器后退
Browser_Forward 浏览器前进
Browser_Refresh 浏览器刷新
Browser_Stop 浏览器停止
Browser_Search 浏览器搜索
Browser_Favorites 浏览器收藏
Browser_Home 浏览器主页
Volume_Mute 静音
Volume_Down 音量减
Volume_Up 音量加
Media_Next 下一首
Media_Prev 上一首
Media_Stop 停止
Media_Play_Pause 播放
Launch_Mail 打开邮件
Launch_Media 打开多媒体
Launch_App1 打开应用1
Launch_App2 打开应用2
Numpad0 小键盘0
Numpad1 小键盘1
Numpad2 小键盘2
Numpad3 小键盘3
Numpad4 小键盘4
Numpad5 小键盘5
Numpad6 小键盘6
Numpad7 小键盘7
Numpad8 小键盘8
Numpad9 小键盘9
NumpadMult 小键盘乘
NumpadDiv 小键盘除
NumpadAdd 小键盘加
NumpadSub 小键盘减
NumpadEnter 小键盘回车
NumpadDot 小键盘点
Numlock 小键盘锁
NumpadEnter 小键盘回车
Delete 删除
Insert 插入
Up
Down
Left
Right
Home 主页
End 尾页
PgUp 上一页
PgDn 下一页
ScrollLock 滚动锁
CapsLock 大写锁
Escape 退出
Tab 跳格
Space 空格
Backspace 退格
Enter 回车
NumpadDel 小键盘删除
NumpadIns 小键盘插入
NumpadClear 小键盘清空
NumpadUp 小键盘上
NumpadDown 小键盘下
NumpadLeft 小键盘左
NumpadRight 小键盘右
NumpadHome 小键盘主页
NumpadEnd 小键盘尾页
NumpadPgUp 小键盘上一页
NumpadPgDn 小键盘下一页
PrintScreen 打印屏幕
CtrlBreak 取消
Pause 暂停
Help 帮助
Sleep 睡眠
LControl 左控制
RControl 右控制
Control 控制
Alt 换挡
Shift 上档
LShift 左上档
RShift 右上档
LAlt 左换挡
RAlt 右换挡

界面(Gui)

函数

原版 中文
Add 添加
AddActiveX 添加集成控件
AddButton 添加按钮
AddCheckBox 添加选择框
AddComboBox 添加下拉输入框
AddCustom 嵌入控件
AddDateTime 添加日期框
AddDDL 添加下拉列表框
AddEdit 添加编辑框
AddGroupBox 添加组合框
AddHotkey 添加热键框
AddLink 添加链接文本
AddListBox 添加列表框
AddListView 添加列表视图
AddMonthCal 添加日历
AddPic 添加图片
AddProgress 添加进度条
AddRadio 添加单选框
AddSlider 添加滑块
AddStatusBar 添加状态栏
AddTab3 添加选项卡
AddText 添加文本
AddTreeView 添加树视图
AddUpDown 添加加减框

控件

原版 中文
Text 文本
Pic 图片
GroupBox 组合框
Button 按钮
CheckBox 多选框
Radio 单选框
DDL 下拉列表框
ComboBox 下拉输入框
ListBox 列表框
ListView 列表视图
TreeView 树视图
Edit 编辑框
DateTime 日期框
MonthCal 日历
Hotkey 热键框
UpDown 加减框
Slider 滑块
Progress 进度条
Tab Tab
Tab2 Tab2
Tab3 选项卡
ActiveX 集成控件
Link 链接文本
Custom 嵌入控件
StatusBar 状态栏

操作

原版 中文
Choose 选择
Focus 焦点
GetPos 获取位置
Move 移动
OnCommand 监听命令
OnEvent 监听事件
OnNotify 监听提示
Opt 参数
Redraw 重绘
SetFont 设置字体
Destroy 销毁
Flash 闪烁
GetClientPos 获取客户端位置
GetPos 获取位置
Hide 隐藏
Maximize 最大化
Minimize 最小化
Move 移动
OnEvent 监听事件
Opt 参数
Restore 还原
SetFont 设置字体
Show 显示
Submit 提交

属性

原版 中文
__Item
Hwnd 句柄
Title 标题
Name 名称
FocusedCtrl 焦点
BackColor 背景色
MarginX 横边距
MarginY 纵边距
MenuBar 菜单栏
ClassNN 类名
Enabled 可用
Focused 焦点
Gui 界面
Hwnd 句柄
Name 名称
Text 文本
Type 类型
Value
Visible 可见

AutoHotkey_L

AutoHotkey is a free, open source macro-creation and automation software utility that allows users to automate repetitive tasks. It is driven by a custom scripting language that is aimed specifically at providing keyboard shortcuts, otherwise known as hotkeys.

AutoHotkey_L started as a fork of AutoHotkey but has been the main branch for some time.

https://autohotkey.com/

How to Compile

AutoHotkey v2 is developed with Microsoft Visual Studio Community 2019, which is a free download from Microsoft.

  • Get the source code.
  • Open AutoHotkeyx.sln in Visual Studio.
  • Select the appropriate Build and Platform.
  • Build.

The project is configured in a way that allows building with Visual Studio 2012 or later. However, for the v2 branch, some newer C++ language features are used and therefore a later version of the compiler might be required.

The project is configured to use a platform toolset with "_xp" suffix, if available.

Build Configurations

AutoHotkeyx.vcxproj contains several combinations of build configurations. The main configurations are:

  • Debug: AutoHotkey.exe in debug mode.
  • Release: AutoHotkey.exe for general use.
  • Self-contained: AutoHotkeySC.bin, used for compiled scripts.

Secondary configurations are:

  • (mbcs): ANSI (multi-byte character set). Configurations without this suffix are Unicode.
  • (minimal): Alternative project settings for producing a smaller binary, possibly with lower performance and added dependencies.

Platforms

AutoHotkeyx.vcxproj includes the following Platforms:

  • Win32: for Windows 32-bit.
  • x64: for Windows x64.

AutoHotkey supports Windows XP with or without service packs and Windows 2000 via an asm patch (win2kcompat.asm). Support may be removed if maintaining it becomes non-trivial. Older versions are not supported.

AutoHotkey v2 Alpha

https://autohotkey.com/v2/

v2 Branch

GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS ------------ PCRE LICENCE ------------ PCRE is a library of functions to support regular expressions whose syntax and semantics are as close as possible to those of the Perl 5 language. Release 6 of PCRE is distributed under the terms of the "BSD" licence, as specified below. The documentation for PCRE, supplied in the "doc" directory, is distributed under the same terms as the software itself. The basic library functions are written in C and are freestanding. Also included in the distribution is a set of C++ wrapper functions. THE BASIC LIBRARY FUNCTIONS --------------------------- Written by: Philip Hazel Email local part: ph10 Email domain: cam.ac.uk University of Cambridge Computing Service, Cambridge, England. Phone: +44 1223 334714. Copyright (c) 1997-2006 University of Cambridge All rights reserved. THE C++ WRAPPER FUNCTIONS ------------------------- Contributed by: Google Inc. Copyright (c) 2006, Google Inc. All rights reserved. THE "BSD" LICENCE ----------------- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the University of Cambridge nor the name of Google Inc. nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. End

简介

Autohotkey中文化项目 展开 收起
C++
GPL-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/haohao036/autohotkey.git
git@gitee.com:haohao036/autohotkey.git
haohao036
autohotkey
Autohotkey中文化项目
master

搜索帮助

14c37bed 8189591 565d56ea 8189591