Re: explore properties of script objects

2003-08-29 Thread Irv Kalb
Here's a function that I've had in my "toolbox" for many year (note the "set" statements from a long time ago). Just pass in your object reference: on DebugObject oWho set nParams = count(oWho) repeat with paramNum = 1 to nParams set symParam = getPropAt(oWho, paramNum) set theValue

Re: explore properties of script objects

2003-08-29 Thread Sébastien Portebois
Hi Michael I have a script object, like gObj = new(script "oTest"). The function gObj.handlers() gives me all the methods of that script. Is there a comparable function that gives me all the properties and their values? you can use 'getPropAt' also with instances. Here is a little handler (warni

explore properties of script objects

2003-08-29 Thread Michael von Aichberger
Hi everybody! I have a script object, like gObj = new(script "oTest"). The function gObj.handlers() gives me all the methods of that script. Is there a comparable function that gives me all the properties and their values? Thanks Michael [To remove yourself from this list, or to change to di