property myEvent : class "NSEvent" of current application set mouseloc to myEvent's mouseLocation as list set {mox, moy} to {x of item 1 of mouseloc, y of item 1 of mouseloc}
property myEvent : class "NSEvent" of current application set mouseloc to myEvent's mouseLocation as list set {mox, moy} to {x of item 1 of mouseloc, y of item 1 of mouseloc}