View Single Post
For example, eight scripts two for each cardinal direction (two sizes of movement).

Each could have the form:

Code:
property pDX : 1 -- positive value for rightward, negative for leftward
property pDY : 0 -- positive value for downward, negative for upward

tell application id "OGfl"
	tell front window
		repeat with oSeln in (selection as list)
			set {rX, rY} to origin of oSeln
			set origin of oSeln to {rX + pDX, rY + pDY}
		end repeat
	end tell
end tell
and each would have different values for pDX and pDY.