Sg2.9
Problems with writing scripts
Recent RSS
Problems with writing scripts
From:  Anita Potter
Date:  31. March 2011, 00:58

Hello. Loving Scriptographer so far just have an issue. I was going through the tutorials on basic script writing but noticed that eventhough I type them in verbatum they don't execute and there's a syntax error. The one on cloning circles throws an error:

ReferenceError: "circle" is not defined.
at Scriptographer Scripts\bTests\CloningCircles.js:7

That line has this code.

clonedPath.rotate(angle * i, circle.bounds.topLeft);

I'm using the latest version of Scriptographer and Illustrator CS.

Not sure what's going on unless the syntax in the tutorial wasn't for the latest version.

Thanks in advance,

Anita

Re: Problems with writing scripts
From:  Anita Potter
Date:  31. March 2011, 07:04

I figured it out. The tutorial was missing this part in the line I showed above.

This is how it should read

clonedPath.rotate(angle * i, circlePath.bounds.topLeft);

Wonder why I couldn't see that earlier?

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Stroke Tone Line 10.03.09