Pregunta

How do I create a shortcut hotkey for an icon in Inno Setup?

The website says add this:

HotKey: ctrl + alt + k

Does anyone have sample code?

¿Fue útil?

Solución

The HotKey is an optional parameter for [Icons] section entries, so simply add it to your icon entry e.g. this way:

[Icons]
Name: "{group}\My Program"; Filename: "{app}\MYPROG.EXE"; WorkingDir: "{app}"; \
    HotKey: "ctrl+alt+k"
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top