Safari - Open a Image with Preview or GraphicConverter

Hi,

I need create a applescript to take an image in a web page using safari and open it in
Preview or Graphic Converter. The image is in TIFF format and is a multilayer file.

Thanks,

Mike

Since you have to select the image anyway, why not control-click or right-click on it and download it to the desktop? From there it’s easy to tell GraphicConverter to open it because it should be the newest file in the desktop folder and you can find all kinds of scripts here to find the newest file. If that’s acceptable I can help. If not, you’ll have to describe in more detail how to find the image in question.

in this thread: http://bbs.applescript.net/viewtopic.php?id=16049 I described how to get a list of all links in the frontmost Safari document. Maybe you could use it as starting point for your script. Just add some lines for filtering the .tif and download …

D.