AutoHotkey's self-answer

Source: Internet
Author: User

Accidental opportunity, contact with AutoHotkey this thing, feel good, then take time to understand a bit. This is to keep track of the various problems I have encountered while learning AutoHotkey, as well as my explanations (which may be unprofessional or even wrong).

TIME:2015-08-13 began to contact AutoHotkey.

Q: Why does the multi-line hotkey need to return, and the single-line hotkey is not required?

A: In fact, a single-line hotkey also has a return statement, but at the end of the omitted. Compare single and multiple lines to see the difference:

  

; single-line hotkey #n::run Notepad; Multiline hotkey #n::    Run Notepad+ +    run vimreturn

There should be a newline between the run and::. When a newline is detected, the script executes until the return statement is encountered. If: There is no line break between run, the execution to the end of the swap behavior.

  

AutoHotkey's self-answer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.