Skip to content

Instantly share code, notes, and snippets.

@RaptorX
Created October 18, 2024 22:16
Show Gist options
  • Select an option

  • Save RaptorX/f8b8fecf1106e637c23f2be33eb70292 to your computer and use it in GitHub Desktop.

Select an option

Save RaptorX/f8b8fecf1106e637c23f2be33eb70292 to your computer and use it in GitHub Desktop.

Revisions

  1. RaptorX created this gist Oct 18, 2024.
    13 changes: 13 additions & 0 deletions radio.ahk
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #Requires AutoHotkey v2
    #SingleInstance force

    myGui := Gui()
    myGui.OnEvent("Close", GuiClose)
    myGui.Add("Radio", "vSDK", "SDK").OnEvent("Click", ShowText)
    myGui.Add("Radio","vChannel yp", "Channel Review").OnEvent("Click", ShowText)
    myGui.Add("Radio","vEmail yp", "Email").OnEvent("Click", ShowText)
    myGui.show()
    Return

    ShowText(obj,*)=> MsgBox(obj.name) ; use arrow functions when the function only has 1 action
    GuiClose(*) => ExitApp()