I'm running the examples from the ExtendScript Toolkit UI and the dialog examples don't do appear in photoshop.
I copied SnpCreateTreeView.jsx from the examples directory to my toolkit window and ran it. It errors out on "aNode.image = this.folderIcon;". I assumed it was just to set icons, so I commented it out and it appeared to run without error, but it just jumps to photoshop and I see no dialog.
About to run SnpCreateTreeView
Ran SnpCreateTreeView
Result: true
I tried a simpler example, "SnpCreateDialog.jsx" and it also didn't do anything. It almost looks like it's going over to photoshop, loading the dialog, closing the dialog and jumping back to the toolkit. I have managed to find some examples like "AlertBoxBuilder1.jsx" where I do see a dialog. What's the difference here?