I am attempting to automate drawing a line over an image but am unsure how to target the image I'm "dragging" over. Here is what I have thus far:
Code: Select all
on mouseUp
choose pencil tool
set the penColor to "red"
set the lineSize to 10
drag from 690,424 to 540,424
drag from 540,424 to 540,435
drag from 540,435 to 462,435
drag from 462,435 to 462,248
drag from 462,248 to 620,248
choose browse tool
end mouseUp
**EDIT I have this script on a button
Thanks in advance!
Cheers,
Monica