AnsweredAssumed Answered

JS actions.registered doesn't give me action names

Question asked by ftoth on Sep 11, 2007
Latest reply on Sep 13, 2007 by ftoth
Hi,

I'm trying to use the JavaScript API to get action names. According to
the doc, something like this should work:


for (a in actions.registered) {
    logger.log("A: " + a);
}

But all I get is numbers on output:

21:10:08,496 DEBUG [repo.jscript.ScriptLogger] A: 0
21:10:08,496 DEBUG [repo.jscript.ScriptLogger] A: 1
21:10:08,496 DEBUG [repo.jscript.ScriptLogger] A: 2
21:10:08,496 DEBUG [repo.jscript.ScriptLogger] A: 3
21:10:08,496 DEBUG [repo.jscript.ScriptLogger] A: 4
etc.

I am getting the right number of actions. I get the numbers
0-16 and I count 17 actions.

Am I missing something?

Many thanks,

Fred

Outcomes