Google Spreadsheet download

Is there a way to automate a Google spreadsheet download ? As when I use the record function it’s a bit hit and miss; sometimes it works and other times it doesn’t. Are there any keyboard shortcuts?

Hey Brian,

See this thread for the brute-force method.

I have tried using javascript to click the ‘File’ button, but so far my efforts have failed. Someone with a better knowledge of javascript might possibly be able to make it work.

This fails:

tell application "Safari"
  do JavaScript "document.getElementById('docs-file-menu')[0].click()"
end tell

Best Regards,