推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
jin6220
V2EX  ›  Python

求问个 autohotkey 的脚本,关于长按与短按。

  •  
  •   jin6220 · Mar 7, 2019 · 3458 views
    This topic created in 2651 days ago, the information mentioned may be changed or developed.
    笔记本键盘 c 键坏了
    准备用 Tab 键替换
    请问如何
    短按 tab 输出的是按键 c,
    长按半秒输出的才是原来的按键 Tab
    刚接触 ahk,目前还只会写 Tab::Send c
    wysnylc
        1
    wysnylc  
       Mar 8, 2019
    有两个内置变量
    A_TimeSinceThisHotkey : 从 A_ThisHotkey 按下后到现在经过的毫秒数. 如果 A_ThisHotkey 为空, 则此变量的值为 -1.
    A_TimeSincePriorHotkey : 从 A_PriorHotkey 按下后到现在经过的毫秒数. 如果 A_PriorHotkey 为空, 则此变量的值为 -1.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1179 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 17:56 · PVG 01:56 · LAX 10:56 · JFK 13:56
    ♥ Do have faith in what you're doing.