Sg2.5
News
Recent RSS
From:  Jürg Lehni
Date:  8. March 2010, 00:00

Just in time for this week's workshop at ECAL, we released the latest version of Scriptographer. As always this includes a row of bug fixes, and this time also some quite substantial performance improvement in various fields.

But most of all, this includes new functions and classes for creating user interfaces and palettes in very easy ways, as described by the new User Input and Feedback tutorial. Speaking of tutorials, we also wrote quite a few new ones.

As this is the main new feature in this release we are not going to include a detailed change-log this time.

We believe that the new Dialog.prompt(title, items) and new Palette(title, items, values) functionality offers a really great way to make more interactive scripts and we cannot wait to see the outcomes.

This should basically eradicate the need to tinker with any of the complex types in the UI package, which is a good thing, as Adobe will move away from ADM in CS6 onwards, breaking all of Scriptographer's UI code and making it literally impossible to maintain backward compatibility for the UI package. Therefore the methods described in the User Input and Feedback tutorial will be the only ones guaranteed to work in the future in order to create user interfaces in Scriptographer.

As always, download and have fun!

2 Comments
From:  Jürg Lehni
Date:  22. February 2010, 23:19

We just posted the results of a Scriptographer workshop held at the ECAL in September / October 2009.

This is part of an ongoing effort at the ECAL to use Scriptographer for teaching programming to students of graphic design and interaction design in a way that allows them to use it as a integral part of their daily workflow, in areas where scripting makes sense.

These workshops are part of a research project conducted by Jonathan Puckey and Jürg Lehni and assisted by Florian Pittet. The project started a bit less than one year and will carry on for the whole of 2010.

Each semester there is one workshop in which new ideas for methods and approaches of teaching scripting are tested, and of which the outcome is fed back into the further work on both Scriptographer and the documentation and tutorials that we are currently preparing for it.

One of the early results is a modification of Rhino, the JavaScript engine inside Scriptographer. This modification allows vector algebra to be written in a far more intuitive way, facilitating its use as a base in a one week workshop where students have no pre-requirements in programming or vector geometry. Due to this feature, a complicated line like the following can be rewritten in far more readable way:

var middlePoint = event.lastPoint.add(event.point).divide(2);

becomes:

var middlePoint = (event.lastPoint + event.point) / 2;

Other changes that stem from this project are the recently introduced simplifications in the way the Scriptographer interface works, based on observations made in an early workshop.

We believe that by continuously testing our concepts and code with students, Scriptographer will benefit more and more, both in the API and in the way its interface works.

Big thanks to the ECAL for supporting our efforts and providing brilliant students as guinea pigs ;-)

Expect more materials from other workshops to be posted on this site soon.

Write a Comment
From:  Jürg Lehni
Date:  15. February 2010, 21:22

After many weeks of work, version 2.6 of Scriptographer was finally released today. This is mainly a maintenance release with many changes that should increase stability and not affect existing scripts so much.

For a detailed list of changes, please refer to the changelog.

The most obvious change for users is probably the change of folder structure in the scripts folder. We decided to introduce two root folders, Examples and My Scripts, to encourage people to separate own scripts from predefined examples. In a future release there will be a third folder called Tutorials, which will server as a base for people to learn scripting in Scriptographer, and a simple way of adding other folders in different locations as code repositories or projects, to avoid the risk of overwriting existing self written scripts when updating Scriptographer.

Speaking of tutorials, we also spent a lot of work on improving the documentation and the tutorials and this site, of which you are now only seeing the beginning. In the coming weeks we will be more and more focusing on this effort in order to remove many of the initial hurdles when learning Scriptographer.

And finally I would like to point out the new path.smooth() function which comes in very handy when trying to put a smooth curve through a group of points.

I hope you all enjoy this release.

5 Comments

It took far longer than anticipated and far too long for anyone who was waiting for it to be released, especially after after all the false predictions about possible release dates in the past months. But here it is finally, the all new version, with lots of bug fixes, many new features and improvements, and finally proper CS4 support.

Many of the changes are under the hood and not visible straight away, but the more you work (and hopefully write code) with this new version, the more you will notice these improvements on all levels: A better structured and simplified API, syntax simplifications and improvements through tweaks to the Scripting Engine, a series of coding conventions that we will start writing about in tutorials, better structured documentation, etc. With this release we are only lying the base for many more improvements to come, and the more of the hard work is done, the more this becomes the actual fun-part of the project: Designing the architecture itself, coming up with conventions about how to make and use things in easy ways and communicating these, etc.

Several parts of the API have changed, so please do not expect your scripts written for previous versions to just work without some tweaks. We believe that the changes were worth the risk of breaking existing scripts, and we are willing to help with porting to the new version. As a start, we ported most of the scripts that users have uploaded to this site. Each script page still contains the original file, marked with -previous in the name.

We have prepared an extensive changelog with explanations about the API changes and how to adapt and use these.

We believe that this version was well worth the wait. But from now on, we will go back to a scheme of releasing often and early, to keep users in the loop as much as possible.

31 Comments
From:  Jürg Lehni
Date:  30. November 2008, 13:44

Since this question was raised twice on the forum now, here a post to inform everyone that things are moving on. CS4 support is on its way. The last release of Scriptographer is a long while back, and a bit buggy in many ways. In the meantime many of these bugs were fixed and many features added. We also changed the API in parts and therefore broke backward compatibility with existing scripts. The scripts will be easy enough to update, and the syntax got easier in many places.

It all ended up becoming a far longer transition than initially planed. The challenge now is to wrap this unfinished transition up a bit for a CS4 release soon, then finish the pending changes, and not mess everything up.

A preview version will be offered along with the current version, for backward compatibility until the transition to the new API is over.

Stay tuned and help out where you can.

36 Comments
Scripts
28.02.10, 19:29
16.06.09, 04:46
24.05.09, 14:05
10.03.09, 01:39
10.03.09, 00:15
09.03.09, 06:33
Posts
11.03.10, 09:40
10.03.10, 21:00
09.03.10, 00:51
07.03.10, 14:47
05.03.10, 20:28
05.03.10, 11:25
Script of the Moment
Stroke Tone Line 10.03.09
Donation

If you use Scriptographer regularly or for commercial purposes, please consider making a donation via PayPal:

Thank you!