I'm trying to figure out how to have KM select a specific cell. Ideally paste a table then select cell A2
If you just want to select cell A2, try this script in an Execute an AppleScript action:
tell application "Numbers"
tell front document
tell active sheet
tell front table
set selection range to range "A2:A2"
end tell
end tell
end tell
end tell
Awesome! This is the first apple script I have ever used. It's doing what I want, but on the tab I'm working in, there are several tables. It is selecting one of the tables, but not the right one. Do you know if there is a way to tell it which table on that tab to select?
I changed this to "tell selected table" but got a syntax error. Then I tried "tell back table" and it selects the table I want! I'm still wondering if I can select a specific table. Can you point me to a direction on these different operators I can use?
I GOT IT!!!
"tell first table"
"tell second table"
"tell third table"
etc.