I have been struggling with the lack of informative examples on this subject!
Like your previous works, it is very simple to understand yet complex enough to assist the more accomplished scripters.
I did find a minor glich on page 22:
The hyperlink: "Gabe Harbs's script" points to this url: "http://www.kahrel.plus.com/indesign/sidenotes.html"
I do not know if this is the intended target.
What about this: if you check "Match teeth size" the panel with the three fields is disabled and the "Center Hole" prompt and field are enabled. Uncheck "Match teeth size" and the panel is enabled and "Center hole" disabled. That way you don't need any radio buttons.
(Veering Off-Topic -- sorry, Peter!)
Jeremy, can you put some numbers to that? Technical documentation on how to actually create gears is a bit hard to find, so I wrote the script to create "mirrored" hills and valleys with the exact same width. Theoretically, if you would draw them as straight lines, they'd match up perfectly. In practice, however, it seems to need a bit of 'pushing'. I don't think the script is accurate enough to design clockwork with -- but I'd sure like it to be!
Jeremy, can you put some numbers to that?
Alas no... not yet, but I'm thinking about it. I'm trying to write something for InDesign that (probably) follows an entirely different method from your script, and whose results will be much more modest (at first, I'm just going for a simplistic "fortification line"). I thought if I had something of my own that works in InDesign, I might be able to work my (beginner's) way into Illustrator's object model, something I am wholly unacquainted with so far. That's why I'm replying here rather than in the Illustrator Scripting forum.
We should build a statue in your honour
Thank you so much for that wonderful guide. Adobe should be inspired for their own scriptUI documentation.
Ok I am a little bit enthusiastic but I really enjoy your book !
PS: And thanks a lot for the reference to my websites
Thank you so much for the updated version of ScriptUI. This book is much helpful for all indesign scripters.
I need one clarification regarding your book of
This book is in German language. Any English version available? If so please let me know.
Thanks again for your excellent work.