1

I'm able to fetch JSON data using JSON Helper and see the results in Script Editor, under Results. I'm not sure what I would use next in AppleScript to copy those results so I can paste it into a program such as Numbers.

tell application "JSON Helper"
    set myRecord to fetch JSON from "http://www.nfl.com/liveupdate/scores/scores.json"
    return myRecord
end tell
3

You can use the set the clipboard to command.

tell application "JSON Helper"
    set myRecord to fetch JSON from "http://www.nfl.com/liveupdate/scores/scores.json"
    set the clipboard to (make JSON from myRecord)
end tell
  • Can I ask you, is there other options in copying the Json data, instead of "myRecord" I simply used that one because their was an example provided using it. – ATS Sep 8 '18 at 18:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .