I want to put a png image in the clipboard… right now, i’m doing it through preview but it’s less than ideal…
tell application "Finder"
open theFile using alias "Macintosh HD:Applications:Preview.app:"
tell application "System Events"
keystroke "a" using command down
keystroke "c" using command down
end tell
end tell
if i try something like:
set the clipboard to theFile
…then i don’t get the image in the clipboard…
how should i get the clipboard to contain the actual image?
thanks