如何在AutoHotKey中启用AHK_L功能? [英] How to enable AHK_L features in AutoHotKey?

查看:134
本文介绍了如何在AutoHotKey中启用AHK_L功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行我在这里下载的AHK_L:

I am running AHK_L which I downloaded here:

http://l.autohotkey.net/AutoHotkey_L_Install.exe

对于所有帐户,运行以下脚本应会破坏标准的AHK,但会在AHK_L中弹出三个Msgbox.

By all accounts, running the following script should break standard AHK, but popup three Msgboxes in AHK_L.

arr := Array("b", "a", "c")
Loop, % arr.len()
   Msgbox, % arr[A_Index]

我什么也没得到;没有错误,也没有Msgboxes.为什么这发生在我身上? AHK_L版本1.1.09.04.

I get nothing; no error, and no Msgboxes. Why is this happening to me? AHK_L version 1.1.09.04.

更具体地说,该论坛为何发布:

More specifically, why does this forum post:

http://www.autohotkey.com/board/topic/45876-ahk-l-arrays/

...大部分包含不起作用的命令?这些来自旧版的AHK_L吗?等等.

... contain mostly commands that don't work? Are these from an older version of AHK_L? Etc.

推荐答案

在这里.

arr := Array("b", "a", "c")
Loop, % arr.MaxIndex()
{
    Msgbox, % arr[A_Index]
}

这篇关于如何在AutoHotKey中启用AHK_L功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆