How to Copy a range of data from google sheets using an Applescript I was wondering if someone could help me with a script that would copy a range of data that is constantly updating on google sheets.  The site would be open and active in Safari. So I wasn’t sure if I needed to command activate. 
This was my attempt, but I know I’m not doing the Safari part right. 

`tell application "Safari"
 select worksheet "Sheet1"
 select range "a1:h1" of worksheet "Sheet1"
tell application "System Events" to keystroke 
  "c" using command down
tell application "Safari"
end tell
Although possible with JavaScript interaction, AppleScript is not the best tool to use.

I would suggest using the Google Sheets API.  You can easily read data with their API.  Since the API supports Java, PHP, etc. and not AppleScript it is off-topic for this site. I would suggest asking on StackOverflow.