Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mash412

macrumors newbie
Original poster
Feb 8, 2015
1
0
I have been Googling about AppleScript but am basically new (I have done programming using Visual Basic under Windows but am now totally a Mac user). I have run into a block in the following scenario:

1. Open Safari and open a blank page in TextEdit or Word
2. Fetch a succession of Web pages (up to 17)
3. Each web page has several items, one of which is an image (these are weather maps). I am only interested in the image.
---------------------------------------------------------
4. Hover over image
5. Ctrl-click
6. Choose Copy Image from context menu (now in clipboard)
---------------------------------------------------------
7. Paste the image from the clipboard to the new document (Word or TextEdit)
8. Repeat this 16 more times, addending each successive image to the same document
9. Save the document

The block is at steps 4, 5, and 6.

I don't know the file type of the image, which is probably generated automatically by NOAA.

I am able to get through step 3, but haven't found a AppleScript code that will do steps 4, 5 and 6. The aim is do all of this via AppleScript application without manual user input after step 1.

Thanks. Hope someone can help.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.