Quote:
Originally Posted by Sophie
access / instantiate shapes from a stencil
|
My understanding is that stencils are beyond the reach of the current Applescript library.
Quote:
Originally Posted by Sophie
how do I create a line between magnet1 on shape 1, and magnet5 on shape 2, using Applescript?
|
The connect command doesn't let us specify source or target magnets. We can, however, change the number and position of the magnets at run-time.
When rotating a vertical tree into a horizontal tree, for example (leaving the text nodes unrotated), I use script to reduce the number of magnets to two per shape, and flip them from North + South to East + West.