objectrepo.txt logicalname,propertyvalue pair "text1","id=6","" generic function.vbs function getdata(stredit) CreateObjectRuntime(stredit) set objedit=objruntime swfwindow("text:=.*).swfobject("text:=.*).wpfwindow("name:=*).wpfedit(objedit).getroproperty("text") end function script call getdata("text1") now this will call createobjectRuntime function,it go to objectrepo.txt and fetch that values The above code works fine but the thing is we have 'N' number of edit boxes so if i follow the above method, i sholud add all the object property values in objectrepo.txt so it is difficult to maintain it. now i want the change that i need to call the function that contains object and property of that object, so it has to take and execute. is it possible using DP,if yes how please let me know the complete idea with code possibly. eg:call getdata("textbox1",1) call getdata("textbox2",2) 1,2 are ids of the object