how test the radio value from another script ?

Get help with using AutoHotkey and its commands and hotkeys
furtif
Posts: 2
Joined: 19 Feb 2017, 16:01

how test the radio value from another script ?

19 Feb 2017, 16:43

Hello everyone,

how test the radio value from another script ?

; File name = MyGui.ahk
Gui, Font, cBlue
Gui, Add, Text, , Test
Gui, Add, Radio, vTest, On
Gui, Add, Radio, Checked, Off
Gui, Show

;============================================;

; File name = TestMyGui.ahk

ControlGet, MaVar, Hwnd,, Test, ahk_class AutoHotkeyGUI
MsgBox %MaVar%

i think i get the Hwnd but i wanted check if Test is On or Off
TravisQ
Posts: 15
Joined: 17 May 2015, 23:51

Re: how test the radio value from another script ?

19 Feb 2017, 18:24

Code: Select all

ControlGet,MaVar,Checked,,button1,MyGui.ahk
MsgBox %MaVar%

Return to “Ask For Help”

Who is online

Users browsing this forum: Billykid, Chunjee, faris1984, flyingDman, Pilu, Rohwedder, teadrinker and 157 guests