A simple script that randomly distributes selected objects within the document.
TypeError: Cannot read property "length" from null
at /scripts/randomdistribute.js:24 (rand)
at /scripts/randomdistribute.js:20
any ideas?
You need to select some things in your document before you execute the script..
well i tried that but i still get the error...
i create 3 different circles, select all and execute the script..and i get the error...what am i doing wrong?
I'm not sure - it works here.
Are you running the latest version of Scriptographer?
AHHH!!
2.0.23
better get updated to 025
that must have been the problem...
Thanks Eike Menijn! That awesome
This script is amazing and works perfect in CS5 with scriptographer. But in CS6, there is a warning pop-up when i run the script:
Error 2: Document is underfined.
Line: 15
> var selectedItems = document.selectedItems;
How to fix it?