Applescript "Can’t make {x:651.0, y:675.0} into type real." number -1700 from {x:651.0, y:675.0} to real
The error you're getting is because you can't round() a structure as a whole, so you need to round its individual components. Replace this:


round (theList)





set theList's x to round (theList's x)
set theList's y to round (theList's y)


Then you'll need to fix a subsequent error caused by theList having x and y keys. Replace this:


  click at {theList}



    click at {theList's x, theList's y}