Answered
Loop over available tools in Photoshop
Is it possible to access app.tools as an array? I'm sure tools vary from PS version to version.
So loop over the array find their name and then access them by the name?
var str = "";
for (var i=0; i < tool.length; i++)
{
str += i + " " + tool[i] + "\n";
}
alert(str);
0 moveTool
1 marqueeRectTool
2 marqueeEllipTool
3 marqueeSingleRowTool
etc...
