mesale0077 Posted July 12, 2013 Share Posted July 12, 2013 $obj = _IEGetObjById($oIE, "2") ObjEvent($obj, "Products_") $obj = _IEGetObjById($oIE, "3") ObjEvent($obj, "Produ_") $obj = _IEGetObjById($oIE, "1") ObjEvent($obj, "Company_") $obj = _IEGetObjById($oIE, "button_id") okey but ObjByIdnameObjEvent() ithink func ? ı want to convert id Switch ,but how is it? While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch $nid= ObjByIdnameObjEvent() Switch $nid Case 2 Products_() Case 3 Produ_() EndSwitch WEnd thank you now Link to comment Share on other sites More sharing options...
mesale0077 Posted August 5, 2013 Author Share Posted August 5, 2013 ie id Switch ? how isit Link to comment Share on other sites More sharing options...
jaberwacky Posted August 6, 2013 Share Posted August 6, 2013 What was the question? You want to make a switch strucutre based on the return value of ObjByIdnameObjEvent()? It looks like you already have it set up. Make sure the Case statements cover all of the possible return values. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now