Copying an Image from a Numbers spreadsheet cell

What is the preferred way to copy an image in a Numbers table cell?


I have tried: set myContactPhoto to value of cell 4

and although this works for everything else, it does not work for images...


So, I tried:


tell application "System Events"

tell process "Numbers"

activate

keystroke "c" using command down

end tell

end tell


But I get an error message saying that the script debugger is not allowed to send keystrokes.


I am running Script Debugger 7 fro Late Night Software.


Any Ideas?

Posted on Jul 18, 2019 7:22 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 19, 2019 5:33 AM

Try it in Script Editor (in Applications > Utilities).


It is possible that you may need to go to System Preferences > Security & Privacy > Privacy > Accessibility and make sure Numbers, Script Editor, and Script Debugger are all listed and checked.


SG

3 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Copying an Image from a Numbers spreadsheet cell

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.