On 26 November 2017 at 13:07, Stephane Ducasse <stepharo.s...@gmail.com> wrote:
> Hi Andy
>
> As you saw there are plenty of solutions.
>
> Now what I learned is that it is often better in the long to have a
> little object because suddenly
> it opens your mind and you realise that you can teach him something more.
>
> So I often find myself realising that I created some class methods and
> that it was stupid
> better have a real little object because it can do more and in
> particular for open new path
>
> So now I do not use scripts but plain little classes with nice little
> printOn: methods and arguments
> to get customized.

+1

And if you create a class method to do the most common operation(s),
you can add the "<script>" pragma and a button appears in the browser
to run the operation.

Cheers,
Alistair

Reply via email to