Advertisement
Guest User

Untitled

a guest
Jun 7th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on runme(message)
  2.     tell application "Finder"
  3.         if (item 1 of message = 144) and (item 2 of message = 21) and (item 3 of message > 0) then
  4.             set x to 5
  5.             if x = 5 then check
  6.             if (item 1 of message = 144) and (item 2 of message = 24) and (item 3 of message > 0) then
  7.                 set y to 5
  8.                 if x = 5 and y = 5 then
  9.                     <do action>
  10.                 end if
  11.             end if
  12.         end if
  13.     end tell
  14. end runme
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement