【问题标题】:Romanian Programmers keyboard layout using AutoHotkey使用 AutoHotkey 的罗马尼亚语程序员键盘布局
【发布时间】:2015-05-15 20:48:26
【问题描述】:

我想使用 AutoHotKey 启用 Romanian Programmers 键盘布局,因为我需要使用某些具有与“不寻常”布局重叠的某些快捷方式的应用程序,并且将 Right Alt 转换为 AltGr 是不可接受的。

请查看我的答案以获得可行的解决方案,并随时提出改进建议。

【问题讨论】:

    标签: windows keyboard keyboard-shortcuts autohotkey keyboard-layout


    【解决方案1】:

    这是我最终使用的脚本:

    ;Disable the Right Alt key (the keydown event will still be fired, but that's OK)
    RAlt::Return
    
    RAlt & a::
        if GetKeyState("Shift", "P") {
            Send Ă
        } else {
            Send ă
        }
        Return
    
    RAlt & q::
        if GetKeyState("Shift", "P") {
            Send Â
        } else {
            Send â
        }
        Return
    
    RAlt & i::
        if GetKeyState("Shift", "P") {
            Send Î
        } else {
            Send î
        }
        Return
    
    RAlt & s::
        if GetKeyState("Shift", "P") {
            Send Ș
        } else {
            Send ș
        }
        Return
    
    RAlt & t::
        if GetKeyState("Shift", "P") {
            Send Ț
        } else {
            Send ț
        }
        Return
    
    RAlt & e::Send €
    
    RAlt & c::Send ©
    

    请注意,我仅从罗马尼亚程序员布局中映射了我需要的键,其中有一些不常见符号的快捷方式。

    【讨论】:

      猜你喜欢
      • 2013-09-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多