wyagd001 / wyagd001.github.io Goto Github PK
View Code? Open in Web Editor NEW个人主页, Autohotkey 中文帮助, 自用脚本介绍
Home Page: https://wyagd001.github.io
个人主页, Autohotkey 中文帮助, 自用脚本介绍
Home Page: https://wyagd001.github.io
Hi, I'm the developer of the sidebar in the English docs.
I would like to replace the outdated Chinese link in the sidebar's language selection with the link to your docs. More specifically, http://ahkcn.sourceforge.net/docs/
to https://wyagd001.github.io/zh-cn/docs/
.
What do you think and are you okay with it?
WinActive, WinExist 等相关函数中, 在参数小节里的末尾:
默认情况下, 窗口标题必须以指定的 WinTitle 或 ExcludeTitle 开头才能匹配, 除非使用 SetTitleMatchMode 进行更改.
在英文中为:
By default, a window title can contain WinTitle or ExcludeTitle anywhere inside it to be a match, unless changed with SetTitleMatchMode.
根据 SetTitleMatchMode. 可知, 默认 WinTitle 采用包含模式, 而不是开头匹配模式, 英文的说法是正确的.
感谢你的无私奉献!
为什么我在autohotkey下载了2.0版本,exe文件打开是一个文档。??
可以说一下原因吗
1.我在一级菜单办公下试图添加图标选择的是绝对路径
例如:Excel=C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE
word我也是同样的操作但是添加后无法使用
问下大佬该如何添加才能生效
备注:感觉这个软件很方便,之前用过一些快速启动的比如:Lily、maye、优效文件助手、rolan
用久了电脑弄得卡顿,今天突然用了这个软件一点也不卡,而且Everything全局快捷键启动很方便,一键搜索都很贴心,希望大佬以后能多添加一些好用的功能
比如 https://wyagd001.github.io/v2/docs/commands/InStr.htm
改成小写 https://wyagd001.github.io/v2/docs/commands/instr.htm 就无法打开了。想实现脚本中一键跳转到帮助,被这个卡住了。。
1.我在一级菜单办公下试图添加图标选择的是绝对路径
例如:Excel=C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE
word我也是同样的操作但是添加后无法使用
问下大佬该如何添加才能生效
备注:感觉这个软件很方便,之前用过一些快速启动的比如:Lily、maye、优效文件助手
用久了电脑弄得卡顿,今天突然用了这个软件一点也不卡,而且Everything全局快捷键启动很方便,一键搜索都很贴心,希望大佬以后能多添加一些好用的功能
请教一下怎么把文档打包成chm啊? 望指教 👍
https://wyagd001.github.io/v2/docs/lib/SetTimer.htm
错误的地方 :
SetTimer, 0 ; 即此处计时器关闭自己.
"SetTimer," 中间应该有一个空格 , 应该是这样的: "SetTimer ,", 否则运行错误.
这两个例子的区别在于, 当你按下 Ctrl+J 时, 热键将会触发, 而热字串会将你输入的 "ftw" 转换为 "Free the whales".
在上面这个例子中, 是不是应该说明下输入"ftw"以后需要按非字母/数字键来激活?
https://github.com/Lexikos/AutoHotkey_L-Docs
官方的文档有更新。 感谢汉化!没有其它地方可以留言,只能在这里发帖了。
Thanks.
v2版英文原文: This parameter must be a quoted literal string (not a variable or any other expression)
v1版英文原文: The file name must not contain double quotes, variable references (e.g. %A_ProgramFiles%), or wildcards.
v2版中文翻译: 文件名不能包含双引号或通配符.
帮助实在太大了.
https://github.com/Lexikos/AutoHotkey_L-Docs
官方的文档有更新。不知道汉化版跟进了没有
感谢汉化!
在文件对象中关于指针的翻译基本类似下文这样:
Write: 写入字符串到文件并向前移动文件指针.
原文用词是 advances 前进的意思。
那么在这里,更好的翻译应该是:
Write: 写入字符串到文件并向后移动文件指针.
因为世界上绝大部分阅读习惯包括中文,都是从左至右,所以 前进的方向=向右 或 向后。
考虑到为了照顾阿拉伯世界的某些从右向左的文字,那么就不用向右这个词,用向后。
或者也可以翻译为:
Write: 写入字符串到文件并前进文件指针.
您好,非常感谢您做的工作,另外还想请教一下,这个网站是用什么工具生成的?这个和我用过的vitepress等工具不太一样,我很喜欢这个自带的搜索功能,也在网上找了许久未果,也询问了NewBing和ChatGPT,说的是像sphinx生成的,但我看了下跟这个网站也不一样,不知道是不是主题的原因,希望您告知一下,谢谢啦!
文档是最新的,为作者点赞!
Win7、IE8 的版本1.1.32.00的chm和html版本打开显示不正常,【提示对象错误】,然后【目录】列表就丢失了,【搜索】也无法使用输入任意字符出错,不知是否英文原版就不支持IE8?
原文:
if not WinExist("Calculator")
{
; ...
}
else
{
WinActivate ; Use the window found by WinExist.
WinMove 40, 40 ; Same as above.
}
中文:
if not WinExist("Calculator")
return
{
; ...
}
else
{
WinActivate ; 使用由 WinExist 找到的窗口.
WinMove 40, 40 ; 同上.
return
}
return在大括号外导致else没关联的语句了
410行报url_href未定义,感觉好像是url.href
比如字符串命令下面的 RegEx Quick Reference,另外有编译的 chm 文件吗?有时候没网络的情况下用 chm 比较方便。
请删除
函数 editor_open_folder()
应有入参 ThisHotkey
; Ctrl+Shift+O 在资源管理器中打开包含的文件夹.
; Ctrl+Shift+E 打开文件夹并选中当前编辑的文件.
; 支持 SciTE.
^+o::
^+e::
editor_open_folder()
{
path := [WinGetTitle](https://wyagd001.github.io/v2/docs/lib/WinGetTitle.htm)("A")
[if](https://wyagd001.github.io/v2/docs/lib/If.htm) [RegExMatch](https://wyagd001.github.io/v2/docs/lib/RegExMatch.htm)(path, "\*?\K(.*)\\[^\\]+(?= [-*] )", &path)
[if](https://wyagd001.github.io/v2/docs/lib/If.htm) ([FileExist](https://wyagd001.github.io/v2/docs/lib/FileExist.htm)(path[0]) && ThisHotkey = "^+e")
[Run](https://wyagd001.github.io/v2/docs/lib/Run.htm) [Format](https://wyagd001.github.io/v2/docs/lib/Format.htm)('explorer.exe /select,"{1}"', path[0])
[else](https://wyagd001.github.io/v2/docs/lib/Else.htm)
[Run](https://wyagd001.github.io/v2/docs/lib/Run.htm) [Format](https://wyagd001.github.io/v2/docs/lib/Format.htm)('explorer.exe "{1}"', path[1])
}
英文版本
; Ctrl+Shift+O to open containing folder in Explorer.
; Ctrl+Shift+E to open folder with current file selected.
; Supports SciTE and Notepad++.
^+o::
^+e::
editor_open_folder(ThisHotkey)
{
path := [WinGetTitle](https://www.autohotkey.com/docs/v2/lib/WinGetTitle.htm)("A")
[if](https://www.autohotkey.com/docs/v2/lib/If.htm) [RegExMatch](https://www.autohotkey.com/docs/v2/lib/RegExMatch.htm)(path, "\*?\K(.*)\\[^\\]+(?= [-*] )", &path)
[if](https://www.autohotkey.com/docs/v2/lib/If.htm) ([FileExist](https://www.autohotkey.com/docs/v2/lib/FileExist.htm)(path[0]) && ThisHotkey = "^+e")
[Run](https://www.autohotkey.com/docs/v2/lib/Run.htm) [Format](https://www.autohotkey.com/docs/v2/lib/Format.htm)('explorer.exe /select,"{1}"', path[0])
[else](https://www.autohotkey.com/docs/v2/lib/Else.htm)
[Run](https://www.autohotkey.com/docs/v2/lib/Run.htm) [Format](https://www.autohotkey.com/docs/v2/lib/Format.htm)('explorer.exe "{1}"', path[1])
}
英文原文:
This is required even if ControlID is a control's associated variable GuiControl#Remarks
翻译:
即使 ControlID 为控件的关联变量或 HWND 这也是必须的 GuiControl#备注
应去掉或 HWND
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.