V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
sepwolves
V2EX  ›  Windows

哪里有 AHK 的中文讨论区?

  •  
  •   sepwolves · 2021-09-16 23:31:30 +08:00 · 3563 次点击
    这是一个创建于 924 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如题。

    19 条回复    2022-03-10 15:28:16 +08:00
    DeWjjj
        1
    DeWjjj  
       2021-09-16 23:53:28 +08:00   ❤️ 1
    AutoHotKey ?
    这东西就别想了,都是灰产挣钱的人谁讨论这东西。
    monkey110
        2
    monkey110  
       2021-09-17 00:00:13 +08:00
    社区死气沉沉 基本没人 找个群加吧 或者直接看文档
    dtysky
        3
    dtysky  
       2021-09-17 00:00:50 +08:00
    @DeWjjj 老哥不至于,我就用 AHK 把 Win10 的快捷键改的和 Mac 一模一样。。。
    DeWjjj
        4
    DeWjjj  
       2021-09-17 00:18:12 +08:00
    @dtysky 你这是合理用途,AHK 能干可多事情了。
    qinwangzeng
        5
    qinwangzeng  
       2021-09-17 01:22:41 +08:00
    楼上有说加群的,我加过 2 千人群,一样死气沉沉的。
    这东西,但凡有个两年编程经验的都能快速上手,文档够详细的了。
    有啥不会的 github 上、google 上找些例子参考参考吧
    enlight
        6
    enlight  
       2021-09-17 02:42:30 +08:00
    建议换 aardio,个人感觉比 AHK 好用,更接近 javascript
    kokutou
        7
    kokutou  
       2021-09-17 08:09:37 +08:00 via Android   ❤️ 1
    有啥问题 Google 搜 ahk +英文描述都能找到啊
    有几个英文论坛都很不错的。。。

    中文就算了,有啥中文论坛是能看得???
    auh
        8
    auh  
       2021-09-17 08:14:22 +08:00
    很少听到有人提到这个。我比较感兴趣。不知道你有啥问题。想要干啥。中文讨论就算了。因为知识量好像并没有特别大。当然非专业人是这种看法。写一些简单的有趣的想法还是比较支持的。中文讨论就算了。讨论的效率还不如自己查的快
    youmilk
        9
    youmilk  
       2021-09-17 08:34:28 +08:00
    应该是没有了,其实看官方文档就很够?
    whitehack
        10
    whitehack  
       2021-09-17 11:18:13 +08:00
    zmxnv123
        11
    zmxnv123  
       2021-09-17 11:29:54 +08:00 via iPhone
    等一个
    g00001
        12
    g00001  
       2021-09-17 12:16:07 +08:00
    作为 Windows 开发工具,就说说调用 API 这种简单的事,aardio 代码这样:

    var fileTime = {
    int lowDateTime;
    int highDateTime;
    }
    ::Kernel32.SystemTimeToFileTime( time(),fileTime )



    AutoIt 代码这样:

    $SYSTEMTIME = DllStructCreate("ushort;ushort;ushort;ushort;ushort;ushort;ushort;ushort")
    $lpSYSTEMTIME = DllStructGetPtr($SYSTEMTIME)
    $LOCALFILETIME=DllStructCreate("dword;dword")
    $lpLOCALFILETIME = DllStructGetPtr($LOCALFILETIME)
    DllStructSetData($SYSTEMTIME, 1, $Year)
    DllStructSetData($SYSTEMTIME, 2, $Month)
    DllStructSetData($SYSTEMTIME, 3, _DateToDayOfWeek($Year,$Month,$Day)-1)
    DllStructSetData($SYSTEMTIME, 4, $Day)
    DllStructSetData($SYSTEMTIME, 5, $Hour)
    DllStructSetData($SYSTEMTIME, 6, $Minute)
    DllStructSetData($SYSTEMTIME, 7, 0)
    DllStructSetData($SYSTEMTIME, 8, 0)
    $result = DllCall("kernel32.dll", "long", "SystemTimeToFileTime", "ptr", $lpSystemTime, "ptr", $lpLocalFileTime)
    If $result[0] = 0 Then
    Local $lastError = DllCall("kernel32.dll", "int", "GetLastError")
    SetExtended($lastError[0])
    SetError(1)
    Return 0
    EndIf



    AutoHotkey 代码这样:

    VarSetCapacity(MyFiletime , 64, 0)
    VarSetCapacity(MySystemtime, 32, 0)
    DayOfWeek=00
    Second=00
    Millisecond=00
    InsertInteger(Year, MySystemtime, 0)
    InsertInteger(Month, MySystemtime, 2)
    InsertInteger(DayOfWeek, MySystemtime, 4)
    InsertInteger(Day, MySystemtime, 6)
    InsertInteger(Hour, MySystemtime,8)
    InsertInteger(Min, MySystemtime,10)
    InsertInteger(Second, MySystemtime,12)
    InsertInteger(Millisecond, MySystemtime,14)
    DllCall("SystemTimeToFileTime", Str, MySystemtime, UInt, &MyFiletime)
    LocalFiletime := ExtractInteger(MyFiletime, 0, false, 64)
    VarSetCapacity(MyUTCFiletime , 64, 0)
    DllCall("LocalFileTimeToFileTime", Str, MyFiletime, UInt, &MyUTCFiletime)
    UTCFiletime := ExtractInteger(MyUTCFiletime, 0, false, 64)


    AutoHotkey,AutoIt 写代码其实啰嗦又费事 ,
    当然 AutoHotkey 实现简单的热键功能是不错。


    aardio 还提供了一个 ahk 扩展库,可以嵌入 AutoHotkey 代码,aardio 与 AutoHotkey 可以相互调用对方的函数。另外 aardio 还可以嵌入十几种其他的第三方编程语言。
    ericFork
        13
    ericFork  
       2021-09-18 03:03:16 +08:00
    @dtysky #3 请问可以分享下么 😛
    wangweiggsn
        14
    wangweiggsn  
       2021-09-18 09:37:12 +08:00
    @kokutou 真是,中文论坛我也就看 ExcelHome 和 V2EX 了,这 V2EX 还要翻墙才能看,我也是。。。
    glamor
        15
    glamor  
       2021-09-18 17:30:45 +08:00
    @DeWjjj 灰产怎么这么容易挣钱?怎么操作的?能稍微透露一下吗?
    DeWjjj
        16
    DeWjjj  
       2021-09-19 12:47:36 +08:00
    @glamor AHK 你只要写一些判定程序,就能靠 AHK 变成脚本。
    就目前我知道的,WOW 一键输出判定宏,几个游戏的自瞄,毒奶粉搬砖都有专门的人开发套件。
    glamor
        17
    glamor  
       2021-09-20 14:36:52 +08:00
    @DeWjjj 玩游戏也算灰产吗?😮而且玩游戏 99%的都是花钱的吧!至今没搞明白怎么挣钱😂
    sepwolves
        18
    sepwolves  
    OP
       2022-03-10 08:53:59 +08:00
    @auh 咱们这里不就是中文讨论区吗?
    auh
        19
    auh  
       2022-03-10 15:28:16 +08:00
    @sepwolves 睡醒了?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5458 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 01:34 · PVG 09:34 · LAX 18:34 · JFK 21:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.