Page 1 of 1

how to get a list of (currently) available handlers?

Posted: Wed Jun 18, 2008 5:50 pm
by rozek
Hello!

I'm currently facing a problem, that RR cannot find a handler within a library stack although that stack "is among the lines of the StacksInUse" and the script editor clearly shows that handler (and, well, the code has been successfully applied)

Is there any possibility to get a list a all handlers, which are currently "visible" to a given stack/card/object? The handler's name is really unique and not among the global/function/commandNames etc.

Debugging does not help either...

Thanks in advance for any help!

Posted: Thu Jun 19, 2008 8:13 am
by rozek
Hmmm,

how does the RR Script Editor get the list of handlers? Does it "tokenize" an object's script to see where all handler definition start? Or is there a buit-in function which does that?

Posted: Thu Jun 19, 2008 1:05 pm
by Janschenkel
It tokenizes the script to extyract the handler names; thiçs is done entirely in the IDE, not through some engine call at the moment.

Jan Schenkel.

Posted: Thu Jun 19, 2008 1:07 pm
by rozek
Jan,

thank you very much - I almost expected this since I could not find any hints in the documentation...