Skip to main content
Participant
August 13, 2009
Question

CS3 Question - Detect an object's arrangement?

  • August 13, 2009
  • 1 reply
  • 424 views

I was wondering if there was a way, using Applescript to detect an objects arrangement (i.e. Is object A in front of Object B?)

I wanted to try and make a script that would rotate two objects slightly (between 3 and 5 degrees).  The front object would be rotated counterclockwise and the rear object clockwise.

This topic has been closed for replies.

1 reply

Inspiring
August 14, 2009

You can compare the index property of the two items.

--

Shane Stanley <sstanley@myriad-com.com.au>

AppleScript Pro Sessions <http://scriptingmatters.com/aspro>