Skip to content

Add Hello World in AutoHotKey #1870

@jrg94

Description

@jrg94

Also, got this from Ben (see #1868).

If possible, please provide a link(s) to the language documentation to prove its existence:

If possible, please provide a code snippet of Hello World in the language:

HelloWorld.ahk

MsgBox , 0x30, Sample programs, Hello world!

Explanation

Breaking it down
0x30 defines which icon and buttons to display.
"Sample programs" is the title of the message box

Could simplify to this, if the default title, icon and buttons are OK
MsgBox, Hello world!

To run
AutoHotKey.exe HelloWorld.ahk

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAny code that improves the repogood first issueGood for newcomershacktoberfestHacktoberfest relatedhello worldSee: https://sampleprograms.io/projects/hello-world/

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions