Coder Social home page Coder Social logo

wyagd001 / wyagd001.github.io Goto Github PK

View Code? Open in Web Editor NEW
259.0 6.0 165.0 206.57 MB

个人主页, Autohotkey 中文帮助, 自用脚本介绍

Home Page: https://wyagd001.github.io

Ruby 0.01% AutoHotkey 3.31% HTML 79.67% JavaScript 16.24% CSS 0.78%
autohotkey chinese-help

wyagd001.github.io's Issues

v2版FileInstall函数的Source参数介绍中有一个翻译错误

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版中文翻译: 文件名不能包含双引号或通配符.

  1. 没有使用v2版相应的描述文本
  2. 翻译描述中缺少了变量引用

感谢+请教站点生成工具

您好,非常感谢您做的工作,另外还想请教一下,这个网站是用什么工具生成的?这个和我用过的vitepress等工具不太一样,我很喜欢这个自带的搜索功能,也在网上找了许久未果,也询问了NewBing和ChatGPT,说的是像sphinx生成的,但我看了下跟这个网站也不一样,不知道是不是主题的原因,希望您告知一下,谢谢啦!

感谢

感谢你的无私奉献!

v2\docs\misc\WinTitle.htm#LastFoundWindow 示例代码小错误

原文:

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没关联的语句了

翻译错误: WinTitle 默认匹配模式

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 采用包含模式, 而不是开头匹配模式, 英文的说法是正确的.

文件对象中的 “向前移动指针”可能有更好的翻译。

在文件对象中关于指针的翻译基本类似下文这样:

Write: 写入字符串到文件并向前移动文件指针.

原文用词是 advances 前进的意思。

那么在这里,更好的翻译应该是:

Write: 写入字符串到文件并向后移动文件指针.

因为世界上绝大部分阅读习惯包括中文,都是从左至右,所以 前进的方向=向右 或 向后。

考虑到为了照顾阿拉伯世界的某些从右向左的文字,那么就不用向右这个词,用向后。

或者也可以翻译为:

Write: 写入字符串到文件并前进文件指针.

我输出了中文乱码

::test1:: 善用佳软。ひらがな 平仮名;カタカナ 片仮名。Korean/한국어/조선말。
image
下载lian'j链接不对

关于热字串的教程问题.

这两个例子的区别在于, 当你按下 Ctrl+J 时, 热键将会触发, 而热字串会将你输入的 "ftw" 转换为 "Free the whales".

在上面这个例子中, 是不是应该说明下输入"ftw"以后需要按非字母/数字键来激活?

v2版本-热键-命名的函数热键-示例中函数错误

函数 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])
    }

修改菜单无法添加word和excel

1.我在一级菜单办公下试图添加图标选择的是绝对路径
例如:Excel=C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE
word我也是同样的操作但是添加后无法使用
问下大佬该如何添加才能生效

备注:感觉这个软件很方便,之前用过一些快速启动的比如:Lily、maye、优效文件助手、rolan
用久了电脑弄得卡顿,今天突然用了这个软件一点也不卡,而且Everything全局快捷键启动很方便,一键搜索都很贴心,希望大佬以后能多添加一些好用的功能

修改菜单无法添加word和excel

1.我在一级菜单办公下试图添加图标选择的是绝对路径
例如:Excel=C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE
word我也是同样的操作但是添加后无法使用
问下大佬该如何添加才能生效

备注:感觉这个软件很方便,之前用过一些快速启动的比如:Lily、maye、优效文件助手
用久了电脑弄得卡顿,今天突然用了这个软件一点也不卡,而且Everything全局快捷键启动很方便,一键搜索都很贴心,希望大佬以后能多添加一些好用的功能

目录中有一些未翻译

比如字符串命令下面的 RegEx Quick Reference,另外有编译的 chm 文件吗?有时候没网络的情况下用 chm 比较方便。

AutoHotkey v1 v2 更新

您好,v1 在 7 月 2 日和 8 日分别更新了 1.1.37.001.1.37.01,v2 在 6 月 19 日和 7 月 3 日分别更新了 2.0.32.0.4。如果您有时间的话可以更新一下翻译吗?非常感谢您的中文文档!

Replace the Chinese Link in the Sidebar Language Selection

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.