<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Scriptographer.org - Help</title> 
		<link>http://scriptographer.org/forum/help/</link>
		<description>Scriptographer.org</description>
		<lastBuildDate>Tue, 24 Nov 2015 02:27:04 +0100</lastBuildDate>
		<generator></generator>
		<language>en</language>
					<item>
			<title>Trouble with save() ? a bug?</title> 
			<link>http://scriptographer.org/forum/help/trouble-with-save-a-bug/</link>
			<guid isPermaLink="true">http://scriptographer.org/forum/help/trouble-with-save-a-bug/</guid>
			<pubDate>Tue, 24 Nov 2015 02:27:04 +0100</pubDate>
			<dc:creator><a href="/users/grahamvdr/">Graham van de Ruit</a></dc:creator>
			<description>

&lt;p&gt;Firstly, is there a way to specify a file location for save() so that I can fully automate the saving process and don&amp;#8217;t have to respond to dialogues? I want to procedurally create and save about 100 files. I&amp;#8217;d also like to be able to specify the file type, if I can, though .ai will work in this case.
&lt;/p&gt;
&lt;p&gt;
I&amp;#8217;m having some trouble with the save() function of Document. It seems to be linked to point text objects, as the error only happens when save() appears after I create these. I haven&amp;#8217;t done extensive testing with other document items.
&lt;/p&gt;
&lt;p&gt;
When I run the script I am presented with the Save As dialogue, then the dialogue that lets me choose the Illustrator version. The file then closes, thanks to the close() function I included, but logs &amp;#8220;Unknown error&amp;#8221; then &amp;#8220;null&amp;#8221; to the console. When I open the file again it logs &amp;#8220;Unknown error&amp;#8221; again, and sometimes keeps doing it, even after I&amp;#8217;ve closed all documents. Most of the text attributes (character and paragraph styles) applied to the text in the script have not actually been applied. If I quit Illustrator and start it up again the following message appears in the console:
&lt;/p&gt;
&lt;p&gt;
&amp;#8220;Nov 24, 2015 2:52:57 AM java.util.prefs.WindowsPreferences &lt;br&gt;
WARNING: Could not open/create prefs root node SoftwareJavaSoftPrefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.&amp;#8221;
&lt;/p&gt;
&lt;p&gt;
The following script reproduces the error for me:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;var myDoc = new Document(&#39;My test document&#39;, 450, 300);

var myPath = new Path.Rectangle(new Point(document.size.width / 3, document.size.height / 3), new Point(document.size.width / 3 * 2, document.size.height / 3 * 2));

var myTitle = new PointText(new Point(document.size.width / 2, document.size.height - 30));
myTitle.content = &#39;Testy McTexticle&#39;;
myTitle.characterStyle.font = app.fonts[&#39;Chaparral Pro&#39;][&#39;Semibold&#39;];
myTitle.characterStyle.fontSize = 12;
myTitle.paragraphStyle.justification = &#39;center&#39;;
myTitle.characterStyle.fillColor = new CMYKColor(0,1,0,0);

myDoc.save();
myDoc.close();&lt;/pre&gt;
&lt;p&gt;
If I leave out the text item and its attributes then it works with no problem.
&lt;/p&gt;
&lt;p&gt;
I&amp;#8217;m using Scriptographer version 2.9.073 in Illustrator CS4 on Windows 10. Let me know if there&amp;#8217;s any other info that would be useful. I&amp;#8217;d appreciate any help.
</description>
		</item>
						<item>
			<title>Installing</title> 
			<link>http://scriptographer.org/forum/help/installing/</link>
			<guid isPermaLink="true">http://scriptographer.org/forum/help/installing/</guid>
			<pubDate>Thu, 27 Aug 2015 22:41:55 +0200</pubDate>
			<dc:creator>jgot</dc:creator>
			<description>

&lt;p&gt;Hello! when I installed Scriptographer I by accidentally did not put my script folder in my documents. 
&lt;/p&gt;
&lt;p&gt;
how do I change that?
&lt;/p&gt;
&lt;p&gt;
Thanks!
</description>
		</item>
						<item>
			<title>Crop marks error</title> 
			<link>http://scriptographer.org/forum/help/crop-marks-error/</link>
			<guid isPermaLink="true">http://scriptographer.org/forum/help/crop-marks-error/</guid>
			<pubDate>Tue, 18 Aug 2015 17:10:02 +0200</pubDate>
			<dc:creator>mydeen</dc:creator>
			<description>

&lt;p&gt;1. Crop marks error &lt;br&gt;
2. Error 24. palette not function Adobe cc Illustrator
&lt;p&gt;&lt;div class=&quot;resource&quot;&gt;
&lt;a href=&quot;/forum/help/crop-marks-error/posts/5719/resources/Crop.jpg/&quot; target=&quot;_blank&quot;&gt;&lt;img width=&quot;240&quot; height=&quot;135&quot; src=&quot;/forum/help/crop-marks-error/posts/5719/resources/Crop.jpg?v=c8ac17b2da7888722cc9d4bdf8cb7984&quot; id=&quot;thumb-1&quot;&gt;&lt;/a&gt;

&lt;/div&gt;
&lt;/p&gt;</description>
		</item>
						<item>
			<title>Adobe photoshop cs6</title> 
			<link>http://scriptographer.org/forum/help/adobe-photoshop-cs6/</link>
			<guid isPermaLink="true">http://scriptographer.org/forum/help/adobe-photoshop-cs6/</guid>
			<pubDate>Sat, 08 Aug 2015 23:58:32 +0200</pubDate>
			<dc:creator><a href="http://clippingpathking.com/" target="_blank">Clipping path</a></dc:creator>
			<description>

&lt;p&gt;how to create a gif image in adobe Photoshop cs6 ?&lt;br&gt;
I am try to do it but i can&#39;t do it .please help me to do that ...&lt;br&gt;
thanks
</description>
		</item>
						<item>
			<title>Phyllotactic Spiral Script?</title> 
			<link>http://scriptographer.org/forum/help/phyllotactic-spiral-script/</link>
			<guid isPermaLink="true">http://scriptographer.org/forum/help/phyllotactic-spiral-script/</guid>
			<pubDate>Thu, 09 Jul 2015 20:28:03 +0200</pubDate>
			<dc:creator>Miles-e-piles</dc:creator>
			<description>

&lt;p&gt;Hello,&lt;br&gt;
I&#39;m sorry, I&#39;m clueless. Got Illustrator CS5. Got Scriptographer installed. Downloaded and added Phyllotactic Spiral script (.js file). Able to play/access Phyllotactic Spiral script, so I&#39;m getting the menu window with it&#39;s various options. But I can&#39;t see any &#39;OK&#39; button to actually run the script!
&lt;/p&gt;
&lt;p&gt;
Anyone know of a tutorial that will take me through the process? Perhaps there&#39;s a really simple solution to this problem? What am I not doing?
&lt;/p&gt;
&lt;p&gt;
I&#39;ve attached an example of the type of spiral I want to create.
&lt;/p&gt;
&lt;p&gt;
Any/all advice greatly appreciated.
&lt;/p&gt;
&lt;p&gt;
Thanks,&lt;br&gt;
Miles-e-piles.
&lt;p&gt;&lt;div class=&quot;resource&quot;&gt;
&lt;a href=&quot;/forum/help/phyllotactic-spiral-script/posts/5640/resources/Screen+Shot+2015-07-09+at+19.21.55.png/&quot; target=&quot;_blank&quot;&gt;&lt;img width=&quot;240&quot; height=&quot;212&quot; src=&quot;/forum/help/phyllotactic-spiral-script/posts/5640/resources/Screen+Shot+2015-07-09+at+19.21.55.png?v=c8ac17b2da7888722cc9d4bdf8cb7984&quot; id=&quot;thumb-2&quot;&gt;&lt;/a&gt;

&lt;/div&gt;
&lt;div class=&quot;resource&quot;&gt;
&lt;a href=&quot;/forum/help/phyllotactic-spiral-script/posts/5640/resources/sunflowermodel1-svg.jpg/&quot; target=&quot;_blank&quot;&gt;&lt;img width=&quot;240&quot; height=&quot;185&quot; src=&quot;/forum/help/phyllotactic-spiral-script/posts/5640/resources/sunflowermodel1-svg.jpg?v=c8ac17b2da7888722cc9d4bdf8cb7984&quot; id=&quot;thumb-3&quot;&gt;&lt;/a&gt;

&lt;/div&gt;
&lt;div class=&quot;icon icon-small&quot;&gt;
&lt;a href=&quot;/forum/help/phyllotactic-spiral-script/posts/5640/resources/1284/&quot;&gt;&lt;div class=&quot;icon-image&quot;&gt;&lt;img src=&quot;/static/type/assets/icons/text_small.gif&quot; width=&quot;16&quot; height=&quot;16&quot;&gt;&lt;/div&gt;&lt;div class=&quot;icon-label&quot;&gt;&lt;/div&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/p&gt;</description>
		</item>
						<item>
			<title>Working with random position for symbols</title> 
			<link>http://scriptographer.org/forum/help/working-with-random-position-for-symbols/</link>
			<guid isPermaLink="true">http://scriptographer.org/forum/help/working-with-random-position-for-symbols/</guid>
			<pubDate>Thu, 25 Jun 2015 01:01:16 +0200</pubDate>
			<dc:creator><a href="http://www.proyectoensamble.com" target="_blank">Sacha Finsterbusch</a></dc:creator>
			<description>

&lt;p&gt;Hello, I&#39;m currently working with the Graffmaster Script. I want to use symbols that works in random positions and sizes, but all I get is the symbol in the middle and not in random positions.
&lt;/p&gt;
&lt;p&gt;
This is what I have at the moment.&lt;br&gt;
Any help will be valuable for me.
&lt;/p&gt;
&lt;p&gt;
Thanks
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
var values = {
	size: 50,
	radius: 100,
	dichte: 10
}

function onOptions() {
	values = Dialog.prompt(&#39;graffmaster:&#39;, {
		size: { description: &#39;size&#39; },
		radius: { description: &#39;radius&#39; },
		dichte: { description: &#39;dichte&#39; }
	}, values);
}

function onMouseDrag(event) {
	for (var i = 1; i &amp;lt; values.dichte; i++) {
		var rotation = (Math.random() * 360).toRadians();
		var rota = (Math.random() * 105).toRadians();
		var ro = (Math.random() * 240).toRadians();
		var roma = (Math.random() * 45).toRadians();
		var rad = new Point(values.radius * Math.random(), values.radius * Math.random());
		var center = event.point + rad.rotate(rotation);
		var cen = event.point + rad.rotate(rota);
		var cento = event.point + rad.rotate(ro);
		var centoro = event.point + rad.rotate(roma);
		var newSize = values.size * Math.random();
		var newSi = values.size * Math.random();
		var newSixe = values.size * Math.random();
		var RegularPolygon = new Path.RegularPolygon(cen, 5, newSi);
		var Triangle = new Path.RegularPolygon(cento, 3, newSixe);
		var Circle = new Path.Circle(center, newSize);
		RegularPolygon.fillColor = new CMYKColor(0.1, 0, 1, 0);
		Circle.fillColor = new CMYKColor(Math.random(), 1, 0, 0);
		Triangle.fillColor = new CMYKColor(1, 0, 0, 0);
		var symbol = document.symbols[&#39;Rocket&#39;];
		var placedSymbol = new PlacedSymbol(symbol, centoro);
		var symbol = document.symbols[&#39;Ro&#39;];
		var placedSymbol = new PlacedSymbol(symbol, cento);
		var symbol = document.symbols[&#39;Ret&#39;];
		var placedSymbol = new PlacedSymbol(symbol, cen);
	}
}
&lt;/pre&gt;
&lt;p&gt;&lt;div class=&quot;icon icon-small&quot;&gt;
&lt;a href=&quot;/forum/help/working-with-random-position-for-symbols/posts/5619/resources/bubbelbubblingMaster.js/&quot;&gt;&lt;div class=&quot;icon-image&quot;&gt;&lt;img src=&quot;/static/type/assets/icons/code_small.gif&quot; width=&quot;16&quot; height=&quot;16&quot;&gt;&lt;/div&gt;&lt;div class=&quot;icon-label&quot;&gt;bubbelbubblingMaster.js&lt;/div&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/p&gt;</description>
		</item>
						<item>
			<title>visibleRange returns only the first character</title> 
			<link>http://scriptographer.org/forum/help/visiblerange-returns-only-the-first-character/</link>
			<guid isPermaLink="true">http://scriptographer.org/forum/help/visiblerange-returns-only-the-first-character/</guid>
			<pubDate>Wed, 27 May 2015 13:19:27 +0200</pubDate>
			<dc:creator>vertex</dc:creator>
			<description>

&lt;p&gt;Hello,
&lt;/p&gt;
&lt;p&gt;
the following example creates an text area where only the subtext &#39;Text which will&#39; is visible.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
var bottomLeft = new Point(10, 10);
var size = new Size(50, 50);
var rectangle = new Rectangle(bottomLeft, size);
var areaText = new AreaText(rectangle);
areaText.content = &#39;Text which will appear within the path&#39;;

console.log(areaText.visibleRange.content); // prints only &#39;T&#39;
&lt;/pre&gt;
&lt;p&gt;
I&#39;ve expected, that &lt;tt&gt;areaText.visibleRange&lt;/tt&gt; will be the visible subtext, but regardless of the text box size, it returns only the first character.
&lt;/p&gt;
&lt;p&gt;
I need this to check, if the whole text in an text area is visible.
&lt;/p&gt;
&lt;p&gt;
Ciao Olli
&lt;p&gt;&lt;div class=&quot;resource&quot;&gt;
&lt;a href=&quot;/forum/help/visiblerange-returns-only-the-first-character/posts/5599/resources/textbox.png/&quot; target=&quot;_blank&quot;&gt;&lt;img width=&quot;136&quot; height=&quot;124&quot; src=&quot;/forum/help/visiblerange-returns-only-the-first-character/posts/5599/resources/textbox.png?v=c8ac17b2da7888722cc9d4bdf8cb7984&quot; id=&quot;thumb-4&quot;&gt;&lt;/a&gt;

&lt;/div&gt;
&lt;/p&gt;</description>
		</item>
						<item>
			<title>Illustrator CS5</title> 
			<link>http://scriptographer.org/forum/help/illustrator-cs5/</link>
			<guid isPermaLink="true">http://scriptographer.org/forum/help/illustrator-cs5/</guid>
			<pubDate>Fri, 01 May 2015 12:03:41 +0200</pubDate>
			<dc:creator>HBee</dc:creator>
			<description>

&lt;p&gt;Windows 8 + Illustrator CS5 + Java TM Platform SE 7 U65 + Scriptographer 
&lt;/p&gt;
&lt;p&gt;
These are the details of my system. I cannot seem to find the Scriptographer file in Illustrator after I&#39;ve pasted it in the plugins folder of CS5. I&#39;ve also restarted the program. Anyone any ideas? Thanks!
</description>
		</item>
						<item>
			<title>Scriptographer  quary</title> 
			<link>http://scriptographer.org/forum/help/scriptographer-quary/</link>
			<guid isPermaLink="true">http://scriptographer.org/forum/help/scriptographer-quary/</guid>
			<pubDate>Mon, 13 Apr 2015 16:59:34 +0200</pubDate>
			<dc:creator>Sourav Bhattacharyya</dc:creator>
			<description>

&lt;p&gt;Hello -
&lt;/p&gt;
&lt;p&gt;
I recently downloaded Scriptographer 2.9.073&lt;br&gt;
Placed the folder into the plug-ins folder of Adobe&amp;reg; Illustrator cs5.&lt;br&gt;
And when I launched &amp;quot;AI&amp;quot;, nothing happen.&lt;br&gt;
Furthermore I don&#39;t see the &amp;quot;scriptographer folder under the &amp;quot;window&amp;quot; menu&amp;quot; of AI.
</description>
		</item>
						<item>
			<title>Trying to create this halftone effect</title> 
			<link>http://scriptographer.org/forum/help/trying-to-create-this-halftone-effect/</link>
			<guid isPermaLink="true">http://scriptographer.org/forum/help/trying-to-create-this-halftone-effect/</guid>
			<pubDate>Wed, 18 Mar 2015 07:47:31 +0100</pubDate>
			<dc:creator>crease</dc:creator>
			<description>

&lt;p&gt;Hi ive been trying to work out how to create this type of halftone effect which is quite common using shapes arranged uniformly.
&lt;/p&gt;
&lt;p&gt;
If someone could help that would be fantastic!
&lt;/p&gt;
&lt;p&gt;
Thanks!
</description>
		</item>
		</channel>
</rss>