How to array objects on surface/ move multiple objects at once to different positions

You could try the scripts by @pascal and @Helvetosaur in this thread: