Bernd,
That's very kind of you, thanks.
I know it's a bulky code but that's me learning day by day.
Peter et al.,
I added functionality for multiple listeners.
It wasn't an easy task, at least for me; but it's fun to deal with it
There are still many issues, feel free to dive in to pinpoint and hopefully fix them.
Check the comments for those which I've noticed.
Btw, I've changed the stack's name to a cooler one
This is for general use:
And this is for Peter, adjusted for that 3 items above:
This is just a stripped out and a bit altered version of
magnetObjects.
Peter,
I wouldn't use that code as it is.
Since it's an alteration of the above stack, it has more issues.
Try creating a dedicated script for your needs using my script's concept.
That is if you find it useful
Hope it helps some of you...
Best,
~ Ender Nafi
~... together, we're smarter ...~
__________________________________________
macOS Sierra • LiveCode 7 & xCode 8