How to make one button do 2 actionS at the same time?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
slider244
Posts: 6
Joined: 29 Aug 2020, 08:10

How to make one button do 2 actionS at the same time?

Post by slider244 » 01 Sep 2020, 10:11

hi,
i made this script:

esc::
Send !{f4}
send ExitApp

but it just do the alt+F4 action and not do the terminate the script action, the script symbol is still in the tray and running.
thanks.

BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: How to make one button do 2 actionS at the same time?

Post by BoBo » 01 Sep 2020, 10:43

Code: Select all

esc::
    Send !{f4}
    Process, Close, Notepad.exe    ; concept.
    Return
HTH

Post Reply

Return to “Ask for Help (v1)”