FastKeys GUI Launching Automatically at Startup

Discussion, questions and support.
Post Reply
Aaquib
Posts: 4
Joined: Jun 5th, ’24, 15:34

Post by Aaquib » Aug 1st, ’25, 14:41

Whenever FastKeys starts at system startup, I notice that the GUI appears automatically without me pressing the F7 key. This behavior is different from the standard AutoHotkey program, where the GUI only shows up after pressing F7.This GUI also shows up when I try to enable or disable the loading progress of FastKeys from settings. How can I prevent the GUI from launching automatically at startup? Here’s an example of the code from my FastKeys Start Menu:

Code: Select all

F7::
    Gui, Add, Button, x20 y20 w100 h30 gMyButton, Click Me
    Gui, Show, w150 h80, Minimal GUI Test
return

MyButton:
    MsgBox, You clicked the button!
return

GuiClose:
    Gui, Destroy
return
I want the GUI to only appear when I press F7, not automatically when FastKeys starts. How can I achieve this? And is there any plan to add support for AutoHotKey v2?
User avatar
Marko
Posts: 1906
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Aug 1st, ’25, 14:54

You should remove the first line (F7) from the script to work as a start menu item.
Aaquib
Posts: 4
Joined: Jun 5th, ’24, 15:34

Post by Aaquib » Aug 1st, ’25, 15:32

Okay, thanks for helping. Also how can I use custom macro key in my laptop for shortcut? In AutoHotKey, I'm able to use this ID for it: SC172.
User avatar
Marko
Posts: 1906
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Aug 2nd, ’25, 21:18

Double click on a shortcut entry field - you can enter any shortcut following AutoHotkey syntax.
Post Reply