Sign in to follow this  
Followers 0
DeathnLife

Radios

2 posts in this topic

I am making an auto potting script for a game called Silkroad Online, and I got basic functionality working. But I wish to expand my project and add a GUI interface that changes the way that the script runs.

So far I got how I want my GUI looking but due to unforseen circumstances I can't do testing any more.

Ading radios in two groups to affect screen resolution and potion slot in the quickbar.

So if your resolution is different it will look in a different place for the health bar.

And what number to press when health has reached a certain point.

I want to know how to use Radios properly (as in how does auto it check if radios are selected)

I just assumed that this was how it was done:

$res1 = GUICtrlCreateRadio ("800x600", 10, 60)
$potionslotx = GUICtrlCreateRadio ("Middle Mouse", 90, 160)
...
If $potionslotx=1 and $res1=1 ThenoÝ÷ Ù8b²+0«H«Þ²Ú­«­¢+Ø¥¹±Õ±ÐíU%
½¹ÍѹÑ̹ÔÌÐì()=ÁÐ ÅÕ½ÐíU%=¹Ù¹Ñ5½ÅÕ½Ðì°Ä¤ì
¡¹Ñ¼=¹Ù¹Ðµ½(ÀÌØíµ¥¹Ý¥¹½ÜôU%
ÉÑ ÅÕ½ÐíAÐA½ÑÑÈØȸÀÅÕ½Ðì°ÈØÔ°ÈÐÀ¤)U%MÑMÑÑ¡M]}M!=¤)U%
Ñɱ
ÉÑ1° ÅÕ½ÐíAÐA½ÑÑÈ  äÑ¡¹1¥ÅÕ½Ðì°ÄÀ°ÄÀ¤)U%
Ñɱ
ÉÑ1° ÅÕ½Ðí9ÙȱÐå½ÕÈÁÑÌ¥¥¸¸ÅÕ½Ðì°ÌÀ°ÈÔ¤)U%
Ñɱ
ÉÑ1° ÅÕ½Ðì¡AÉÍÌÁÕͽ¸å½ÕÈ­å½ÉѼÁÕÍÍÉ¥ÁФÅÕ½Ðì°Äà°ÈÈÔ¤)U%
Ñɱ
ÉÑ1° ÅÕ½ÐíIͽ±ÕÑ¥½¸ÅÕ½Ðì°ÄÔ°ÐÔ¤)U%
Ñɱ
ÉÑ1° ÅÕ½ÐíA½Ñ¥½¸M±½ÐÅÕ½Ðì°äÔ°ÐÔ¤)U%MÑÉÑɽÕÀ ¤(ÀÌØíÁ½Ñ¥½¹Í±½ÐÄôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìÄÅÕ½Ðì°äÀ°ØÀ¤(ÀÌØíÁ½Ñ¥½¹Í±½ÐÈôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìÈÅÕ½Ðì°äÀ°àÀ¤(ÀÌØíÁ½Ñ¥½¹Í±½ÐÌôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìÌÅÕ½Ðì°äÀ°ÄÀÀ¤(ÀÌØíÁ½Ñ¥½¹Í±½ÐÐôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìÐÅÕ½Ðì°äÀ°ÄÈÀ¤(ÀÌØíÁ½Ñ¥½¹Í±½ÐÔôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìÔÅÕ½Ðì°äÀ°ÄÐÀ¤(ÀÌØíÁ½Ñ¥½¹Í±½ÐØôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìØÅÕ½Ðì°ÄÌÀ°ØÀ¤(ÀÌØíÁ½Ñ¥½¹Í±½ÐÜôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìÜÅÕ½Ðì°ÄÌÀ°àÀ¤(ÀÌØíÁ½Ñ¥½¹Í±½ÐàôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìàÅÕ½Ðì°ÄÌÀ°ÄÀÀ¤(ÀÌØíÁ½Ñ¥½¹Í±½ÐäôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìäÅÕ½Ðì°ÄÌÀ°ÄÈÀ¤(ÀÌØíÁ½Ñ¥½¹Í±½ÐÀôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìÀÅÕ½Ðì°ÄÌÀ°ÄÐÀ¤(ÀÌØíÁ½Ñ¥½¹Í±½ÑàôU%
Ñɱ
ÉÑI¥¼ ÅÕ½Ðí5¥±5½ÕÍÅÕ½Ðì°äÀ°ÄØÀ¤)U%MÑÉÑɽÕÀ ¤(ÀÌØíÉÌÄôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìàÀÁàØÀÀÅÕ½Ðì°ÄÀ°ØÀ¤(ÀÌØíÉÌÈôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìÄÀÈÑàÜØàÅÕ½Ðì°ÄÀ°àÀ¤(ÀÌØíÉÌÌôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìÄÄÔÉààØÐÅÕ½Ðì°ÄÀ°ÄÀÀ¤(ÀÌØíÉÌÐôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìÄÈàÁàÄÀÈÐÅÕ½Ðì°ÄÀ°ÄÈÀ¤(ÀÌØíÉÌÔôU%
Ñɱ
ÉÑI¥¼ ÅÕ½ÐìÄØÀÁàÄÈÀÀÅÕ½Ðì°ÄÀ°ÄÐÀ¤(ÀÌØí½­ÕÑѽ¸ôU%
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½Ðí
½¹¥É´ÅÕ½Ðì°ÔÀ°ÈÀÀ°ØÀ¤(ÀÌØí¹±ÕÑѽ¸ôU%
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½Ðí
±½ÍÅÕ½Ðì°ÄÌÀ°ÈÀÀ°ØÀ¤)U%
ÑɱMÑ=¹Ù¹Ð ÀÌØí½­ÕÑѽ¸°ÅÕ½Ðí=- ÕÑѽ¸ÅÕ½Ðì¤)Õ¥
ÑɱMÑ=¹Ù¹Ð ÀÌØí¹±ÕÑѽ¸°ÅÕ½Ðí
¹±    ÕÑѽ¸ÅÕ½Ðì¤)!½Ñ-åMÐ ÅÕ½ÐííAUMôÅÕ½Ðì°ÅÕ½ÐíAÕÍÅÕ½Ðì¤)±½°ÀÌØíAÕÍ)]¡¥±ÔôÔ(%]¹()Õ¹=-  ÕÑѽ¸ ¤(]¥¹Ñ¥ÙÑ ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ðì¤(]¡¥±ÄôÄí½È¥¹¥¹Ñ±½½Á¥¹(íIͽ±ÕÑ¥½¸àÀÁàØÀÀ(%ÀÌØíÁ½Ñ¥½¹Í±½ÑàôĹÀÌØíÉÌÄôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸5½ÕÍ
±¥¬ ÅÕ½Ðíµ¥±ÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÄôĹÀÌØíÉÌÄôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÄÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÈôĹÀÌØíÉÌÄôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÈÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÌôĹÀÌØíÉÌÄôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÌÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÐôĹÀÌØíÉÌÄôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÐÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÔôĹÀÌØíÉÌÄôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÔÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐØôĹÀÌØíÉÌÄôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìØÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÜôĹÀÌØíÉÌÄôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÜÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐàôĹÀÌØíÉÌÄôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìàÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐäôĹÀÌØíÉÌÄôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìäÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÀôĹÀÌØíÉÌÄôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÀÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(íIͽ±ÕÑ¥½¸ÄÀÈÑàÜØà(%ÀÌØíÁ½Ñ¥½¹Í±½ÑàôĹÀÌØíÉÌÈôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸5½ÕÍ
±¥¬ ÅÕ½Ðíµ¥±ÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÄôĹÀÌØíÉÌÈôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÄÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÈôĹÀÌØíÉÌÈôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÈÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÌôĹÀÌØíÉÌÈôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÌÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÐôĹÀÌØíÉÌÈôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÐÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÔôĹÀÌØíÉÌÈôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÔÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐØôĹÀÌØíÉÌÈôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìØÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÜôĹÀÌØíÉÌÈôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÜÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐàôĹÀÌØíÉÌÈôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìàÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐäôĹÀÌØíÉÌÈôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìäÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÀôĹÀÌØíÉÌÈôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÀÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(íIͽ±ÕÑ¥½¸ÄÄÔÉààØÐ(%ÀÌØíÁ½Ñ¥½¹Í±½ÑàôĹÀÌØíÉÌÌôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸5½ÕÍ
±¥¬ ÅÕ½Ðíµ¥±ÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÄôĹÀÌØíÉÌÌôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÄÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÈôĹÀÌØíÉÌÌôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÈÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÌôĹÀÌØíÉÌÌôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÌÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÐôĹÀÌØíÉÌÌôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÐÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÔôĹÀÌØíÉÌÌôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÔÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐØôĹÀÌØíÉÌÌôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìØÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÜôĹÀÌØíÉÌÌôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÜÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐàôĹÀÌØíÉÌÌôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìàÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐäôĹÀÌØíÉÌÌôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìäÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÀôĹÀÌØíÉÌÌôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÀÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(íÉͽ±ÕÑ¥½¸ÄÈàÁàÄÀÈÐ(%ÀÌØíÁ½Ñ¥½¹Í±½ÑàôĹÀÌØíÉÌÐôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸5½ÕÍ
±¥¬ ÅÕ½Ðíµ¥±ÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÄôĹÀÌØíÉÌÐôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÄÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÈôĹÀÌØíÉÌÐôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÈÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÌôĹÀÌØíÉÌÐôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÌÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÐôĹÀÌØíÉÌÐôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÐÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÔôĹÀÌØíÉÌÐôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÔÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐØôĹÀÌØíÉÌÐôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìØÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÜôĹÀÌØíÉÌÐôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÜÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐàôĹÀÌØíÉÌÐôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìàÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐäôĹÀÌØíÉÌÐôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìäÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÀôĹÀÌØíÉÌÐôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÀÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(íÉͽ±ÕÑ¥½¸ÄØÀÁàÄÈÀÀ(%ÀÌØíÁ½Ñ¥½¹Í±½ÑàôĹÀÌØíÉÌÔôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸5½ÕÍ
±¥¬ ÅÕ½Ðíµ¥±ÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÄôĹÀÌØíÉÌÔôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÄÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÈôĹÀÌØíÉÌÔôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÈÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÌôĹÀÌØíÉÌÔôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÌÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÐôĹÀÌØíÉÌÔôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÐÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÔôĹÀÌØíÉÌÔôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÔÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐØôĹÀÌØíÉÌÔôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìØÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÜôĹÀÌØíÉÌÔôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÜÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐàôĹÀÌØíÉÌÔôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìàÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐäôĹÀÌØíÉÌÔôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìäÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(%ÀÌØíÁ½Ñ¥½¹Í±½ÐÀôĹÀÌØíÉÌÔôÄQ¡¸(%]¥¹Ñ¥Ù ÅÕ½ÐíMI=}
±¥¹ÐÅÕ½Ð줹A¥á±Ñ
½±½È ÄÔÀ°àà¤ôô ÔÈØÌÐФQ¡¸M¹ ÅÕ½ÐìÀÅÕ½Ðì¤(M±À ÈÔÀ¤í¡­ÌÙÉäļнͽ¹(¹%(]¹)¹Õ¹()Õ¹
¹±    ÕÑѽ¸ ¤(á¥ÐíÑ¡¥Ì¥Ì½Ù¥½ÕÌåü)¹Õ¹()Õ¹AÕÍ ¤(ÀÌØíAÕÍô9=PÀÌØíAÕÍ)]¡¥±ÀÌØíAÕÍ(M±À ÐÀÀ¤)]¹)¹Õ¹ìôÐìAÕÍ ¤

I have included every combination of options because I don't know a different way around it.

Thanks for reading through this.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

#include <GUIConstants.au3>
GUICreate("My GUI radio") ; will create a dialog box that when displayed is centered

$radio1 = GUICtrlCreateRadio ("Radio 1", 10, 10, 120, 20)
$radio2 = GUICtrlCreateRadio ("Radio 2", 10, 40, 120, 20)
GUICtrlSetState ($radio2, $GUI_CHECKED)

GUISetState ()      ; will display an  dialog box with 1 checkbox

; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        Case $msg = $radio1 And BitAND(GUICtrlRead($radio1), $GUI_CHECKED) = $GUI_CHECKED
            MsgBox(64, 'Info:', 'You clicked the Radio 1 and it is Checked.')
        Case $msg = $radio2 And BitAND(GUICtrlRead($radio2), $GUI_CHECKED) = $GUI_CHECKED
            MsgBox(64, 'Info:', 'You clicked on Radio 2 and it is Checked.')
    EndSelect
Wend

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0