Open multiple programs with one keypress?

Hello! I’m somewhat new to the UHK and writing macros in general, but I was hoping that somebody could help me out.

Is there any way to make a single UHK keypress launch multiple programs at once?..and, better yet, a subsequent keypress (of the same key) close those same programs?

Launching several apps could be possible if those programs can be launched with a shortcut.
In that case, create a macro with all those shortcuts one after another.
Closing those programs with a keyboard macro is, if I’m not mistaken, impossible.

The right approach to achieve what you want is creating a script in your computer to do that. For that, you can use applications like autohotkey or libreautomate for windows.