automating drawing of line

am trying to automate a design software application using this possible through eggplant


Yes, eggPlant can draw lines, using the DragandDrop command (which can also be separated into two commands: Drag and Drop). The code below would draw a line between two different points if executed within, for instance, a Paint program:

DragandDrop (100,100),(200,200)

This code, however, would drag and drop from the hotspot of one image through the hotspot of another image, and ending on the hotspot of the last (hotspots can be moved far away from the image itself and will stay in that position relative to the image no matter where it appears on the screen):

DragandDrop "Image1","Image2","Image3"