you know how when you’re browsing the web and see an image you like, you can ctrl-click and select “copy image”?
i’d like to know how to script this, so i can automatically paste the image into a collage file afterwards.
i already know how to download the file through the “url access scripting”, but for my purposes, i need to copy the image to the clipboard.
it seems i can do this with the page text pretty easily, but i haven’t had any luck with the image file.
please let me know if you have a way!
thanks in advance.
Browser: Firefox 2.0.0.11
Operating System: Mac OS X (10.3.9)
After you copy the image in Firefox you could run a script like this:
tell application "TextEdit" to activate
tell application "System Events"
tell process "TextEdit" to keystroke "v" using {command down}
keystroke "s" using {command down}
end tell
that’s a good tip for pasting, but my main issue is the copy command.
how do i grab/point to one image in particular in order to copy it to the clipboard.
i’m able to get the filename of the photo (a possible pointer?), but i can’t go the downloading route because the picture changes when it gets downloaded.
any ideas?