<?xml version="1.0" encoding="utf-8"?><feed
  xmlns="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/">
<id>http://forums.scriptui.com/index.atom.php</id>
<title>ScriptUI Forums</title>
<link rel="self" type="application/atom+xml" href="http://forums.scriptui.com/index.atom.php" />
<link rel="alternate" type="application/rss+xml" href="http://forums.scriptui.com/index.rss.php" />
<link rel="alternate" type="text/html" href="" />
<subtitle type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">ScriptUI Forums</div>
</subtitle>
<updated>2011-10-11T07:32:55Z</updated>
<entry>
<id>http://forums.scriptui.com/index.php?a=vtopic&amp;t=39</id>
<title type="html">Breakpoints in the ESTK?</title>
<link rel="alternate" type="text/html" href="http://forums.scriptui.com/index.php?a=vtopic&amp;t=39" />
<author><name>andreas1974</name></author>
<updated>2011-10-11T07:32:55Z</updated>
<published>2011-06-23T09:20:33Z</published>
<category term="Rapid ScriptUI Q&amp;A" />
<summary>I can answer my own question: You just have to start the script from InDesign first. Then you can close it, and debugging will work as normal from the ESTK.</summary>
</entry>
<entry>
<id>http://forums.scriptui.com/index.php?a=vtopic&amp;t=51</id>
<title type="html">Background color for edittext changes window colour</title>
<link rel="alternate" type="text/html" href="http://forums.scriptui.com/index.php?a=vtopic&amp;t=51" />
<author><name>andreas1974</name></author>
<updated>2011-10-01T05:20:41Z</updated>
<published>2011-09-13T12:55:54Z</published>
<category term="Rapid ScriptUI Q&amp;A" />
<summary>Yes it&#039;s an error. It will be fixed in future versions.</summary>
</entry>
<entry>
<id>http://forums.scriptui.com/index.php?a=vtopic&amp;t=43</id>
<title type="html">Treeview events, and storing object keys in nodes (objects)</title>
<link rel="alternate" type="text/html" href="http://forums.scriptui.com/index.php?a=vtopic&amp;t=43" />
<author><name>andreas1974</name></author>
<updated>2011-06-27T02:53:19Z</updated>
<published>2011-06-27T02:53:19Z</published>
<category term="ScriptUI Libraries, Code or helpful links" />
<summary>Window1.chapterTree.tvwTree.onExpand  = function (item){
var strXML = getGroupsByParent(item.key); // Get the XML tree here, as a string, based on the (&quot;user-defined&quot;) key property of the item clicked.
// Make an XML object out of the string.
var myXML = XML(strXML);
for (var i=0; i &lt; myXML.children().length(); i++){
	// &quot;node&quot; creates an expandable node
	var aNode = item.add(&quot;node&quot;, myXML.chapter);
	aNode.text = myXML.chapter.@chapter_name;
	aNode.key = myXML.chapter.@chapter_id;
	// (&quot;item&quot; instead of &quot;node&quot; creates a non expandable node (no plus-sign))

}

}

The fine thing with the code above is that the id of the node, the &quot;chapter_id&quot;, can be stored as a generic key, and you can get hold of that key in the expand event, later on.</summary>
</entry>
<entry>
<id>http://forums.scriptui.com/index.php?a=vtopic&amp;t=41</id>
<title type="html">How do you get ScriptUI windows to stay open?</title>
<link rel="alternate" type="text/html" href="http://forums.scriptui.com/index.php?a=vtopic&amp;t=41" />
<author><name>andreas1974</name></author>
<updated>2011-06-23T10:40:48Z</updated>
<published>2011-06-23T10:10:26Z</published>
<category term="ScriptUI Q&amp;A" />
<summary>I found a splendid explanation on the Adobe InDesign forum: 

&quot;If I am correct you must first execute the script from the scripts panel so the session for the targetengine is set. I ran into this problem when first trying to run the script from estk. But usually corrects itself once you run it first from scripts panel.

1. Open script in ESTK. (Make sure its linked to application).
2. From Scripts panel (in InDesign) execute script.
3. Try running script from ESTK
4. You should see the targetengine changes to session instead of main.&quot;

This works. Sometimes breakpoints don&#039;t get hit, but a few tries... and they do... (still not sure what makes them work).</summary>
</entry>
<entry>
<id>http://forums.scriptui.com/index.php?a=vtopic&amp;t=40</id>
<title type="html">Debugging in the ESTK</title>
<link rel="alternate" type="text/html" href="http://forums.scriptui.com/index.php?a=vtopic&amp;t=40" />
<author><name>andreas1974</name></author>
<updated>2011-06-23T09:58:14Z</updated>
<published>2011-06-23T09:58:14Z</published>
<category term="ScriptUI Q&amp;A" />
<summary>Hi!

Is there a good explanation how to get debugging to work along with ScriptUI, using the ExtendScript ToolKit?

Sometimes debugging works fine, but on other times not at all. I suspect the targetengine might play some role in this?

Sometimes, pressing F5, break-points don&#039;t seem to get hit, but the same code may very well be working when starting the program with F11... letting the window be declared while stepping over the lines and then pressing F5.

Best regards, Andreas

(I mistakenly put this question in the Rapid Script UI part of the forum, sorry, feel free to remove that, Steven!)</summary>
</entry>
<entry>
<id>http://forums.scriptui.com/index.php?a=vtopic&amp;t=37</id>
<title type="html">Great tool for building user interface from scratch</title>
<link rel="alternate" type="text/html" href="http://forums.scriptui.com/index.php?a=vtopic&amp;t=37" />
<author><name>andreas1974</name></author>
<updated>2011-06-15T08:07:08Z</updated>
<published>2011-06-15T07:17:40Z</published>
<category term="Testimonials from users" />
<summary>Thanks for your compliments. You should be able to have immediate preview, even without F5.</summary>
</entry>
<entry>
<id>http://forums.scriptui.com/index.php?a=vtopic&amp;t=33</id>
<title type="html">New Features 1.1.0.8</title>
<link rel="alternate" type="text/html" href="http://forums.scriptui.com/index.php?a=vtopic&amp;t=33" />
<author><name>Steven</name></author>
<updated>2011-06-15T08:04:42Z</updated>
<published>2010-09-26T04:03:21Z</published>
<category term="Rapid ScriptUI Q&amp;A" />
<summary>I must apologize. There is an error in the create events option for the window, where when true (the default) events are not created. It should be the opposite. For now set it to false, and events will be created. The option to turn it off, is to be used together with including file at the  end of the script for your implemented events which will be used instead of the generated events.

If I get a chance II will fix the error, though I am quite swamped.</summary>
</entry>
<entry>
<id>http://forums.scriptui.com/index.php?a=vtopic&amp;t=38</id>
<title type="html">MeasurementEditboxes missing?</title>
<link rel="alternate" type="text/html" href="http://forums.scriptui.com/index.php?a=vtopic&amp;t=38" />
<author><name>andreas1974</name></author>
<updated>2011-06-15T08:00:07Z</updated>
<published>2011-06-15T07:50:43Z</published>
<category term="Rapid ScriptUI Q&amp;A" />
<summary>It may be possible with hack, but not built in to InDesign as you said.</summary>
</entry>
<entry>
<id>http://forums.scriptui.com/index.php?a=vtopic&amp;t=36</id>
<title type="html">CS5 support</title>
<link rel="alternate" type="text/html" href="http://forums.scriptui.com/index.php?a=vtopic&amp;t=36" />
<author><name>andreas1974</name></author>
<updated>2011-06-14T06:39:59Z</updated>
<published>2011-06-14T06:39:59Z</published>
<category term="Improvements or Ideas" />
<summary>I suggest adding support in Rapid ScriptUI for CS5 (and 5.5).

Best regards, Andreas</summary>
</entry>
<entry>
<id>http://forums.scriptui.com/index.php?a=vtopic&amp;t=34</id>
<title type="html">guides not offsetting properly</title>
<link rel="alternate" type="text/html" href="http://forums.scriptui.com/index.php?a=vtopic&amp;t=34" />
<author><name>dayglowdave</name></author>
<updated>2011-01-10T03:15:44Z</updated>
<published>2011-01-07T02:40:13Z</published>
<category term="ScriptUI Q&amp;A" />
<summary>Ah sorry bout that it is photoshop CS5</summary>
</entry>
</feed>

