Further Tips - HaxeFoundation/hashlink GitHub Wiki

Working on Windows

  • You probably know you can run .hl programs by double click.

  • But also you can add HashLink to your right mouse menues for files if you wish so:

    1. Open your registry by pressing windows+r and type regedit. Then press OK/enter.

    2. On the left in the registry click on your computer and go down the path HKEY_CLASSES_ROOT/*/shell

    3. Under "shell" by right click on the icon you can add another key, e.g. "HashLink run" (only shown in registry)

    4. On the right change the value (e.g. by double click) to e.g. "Run with HashLink"

    5. Under the newly created key "HashLink run" (step 3) add another key called "command"

    6. Click on the key created ("command") and on the right change the value to (e.g.) "your\path\to\hashlink\hl.exe" "%1"

    (Of course you can use the same approach to compile .hxml files directly by mouse with "your\path\to\haxe\haxe.exe" "%1".)