09-20-2008, 03:43 AM
Change case 6 to this and you'll be rockin'...
Function dialog_473
This is how I would do it, don't know if there is a better way.
Function dialog_473
case 6
,Acc Yah=acc("Yahoo" "RADIOBUTTON" win("Form" "#32770") "Button" "" 0x1001)
,int state1=Yah.State()
,Acc Goo=acc("Google" "RADIOBUTTON" win("Form" "#32770") "Button" "" 0x1001)
,int state2=Goo.State()
,Acc MSN=acc("MSN" "RADIOBUTTON" win("Form" "#32770") "Button" "" 0x1001)
,int state3=MSN.State()
,out state1
,out state2
,out state3
,if(state1=1048576 and state2=1048576 and state3=1048576)
,,mes("You need to select a Web Page ")
,if(state1=1048592)
,,run "http://www.yahoo.com"
,if(state2=1048592)
,,run "http://www.google.com"
,if(state3=1048592)
,,run "http://www.google.com"This is how I would do it, don't know if there is a better way.
