Skip to content

Mini Launcher

Sprick2007 edited this page Sep 24, 2025 · 25 revisions

Mini Luancher For AV Systems

A Mini Always-on-top Windows Panel for Quick Access items. This is great for Stream when you want to hit "Start Streaming" on the window that you don't want to show the OBS Menu.

Windows Download the AutoHotKey (AHK) from the website and Click on "Downlaod" From here, I would download both of the Files. Open the file and follow the basic steps, when your done you can open VS-Code or NotePad (NotePad would be great for this) When you're in the NotePad App, you can save the file and Name it whatever you like, and then after the Naming, you have to add ".ahk" since that is going to trigger the application to work.

Coding for the Launcher

The GUI is going to be our Interface of our Launcher. Also, the Line Numbers are showing you what it should look like for the Coding.

For the Always-on-top Window, you will need to add this line of code to the top

  1. myGui := Gui("+AlwaysOnTop +ToolWindow -Caption +Owner")
  2. myGui.BlackColor:="Black"
  3. myGui.SetFont("s10", "Segoe UI")
  4. WinSetTransparent(100, myGui.Hwnd)

This shows that it is going to be Always-on-top for everything, even if it is full-screened, which is good for what we are going to use it for! This also hides the Title Bar, so it looks sleek.

For the color of the background for the Window, it is going to be any color you would like, but for now, we will use this line of Code "Gui, Color, White" you can use any color for the background of the Window.

For Streaming, if you would like it to be on the Right side, you can put this code into the NotePad

Position Top-Right

  1. monitorWidth := SysGet(78)
  2. guiWidth := 40
  3. guiHeight := 240
  4. guiX := monitorWidth - guiWidth - 10
  5. guiY := 10

After you have your UI configured, you can add Buttons!

Buttons

  1. ; Streaming buttons

  2. myGui.Add("Button", "x10 y20 w30 h30", "▶").OnEvent("Click", StartStreaming)

  3. myGui.Add("Button", "x10 y60 w30 h30", "X").OnEvent("Click", StopStreaming)

  4. ; Recording buttons

  5. myGui.Add("Button", "x10 y110 w30 h30", "▷").OnEvent("Click", StartRecording)

  6. myGui.Add("Button", "x10 y150 w30 h30", "||").OnEvent("Click", PauseRecording)

  7. myGui.Add("Button", "x10 y190 w30 h30", "X").OnEvent("Click", StopRecording)

  8. myGui.Show("x" guiX " y" guiY " w" guiWidth " h" guiHeight)

Functions

  1. StartStreaming(*) {

  2. ; Start streaming logic
    
  3. }

  4. StopStreaming(*) {

  5. ; Stop streaming logic
    
  6. }

  7. StartRecording(*) {

  8. ; Start recording logic
    
  9. }

  10. PauseRecording(*) {

  11. ; Pause recording logic
    
  12. }

  13. StopRecording(*) {

  14. ; Stop recording logic
    
  15. }

Full Code:

Clone this wiki locally