This question is first about scripts, because I am obviously missing something. I am looking for help actually just implementing them. When I go to the "script editor" I always have to create a new "project" and save it as something. Should the script not be attached to the spreadsheet?
But if I ignore that strange fact and I open the editor and copy and paste a nice script in there, how do I get it to run in my spreadsheet? Sometimes I can see that if I go back to the spreadsheet and refresh the page a new menu item appears, which makes me think that the script is running, but then where is that script saved? An overview of what is going on in Google Scripts would be awesome.
The overall problem that I am attempting to solve: I want my spreadsheets to be able to plot trendlines. I thought the solution would be to write a script and apply it to all spreadsheets. This ideal script would have a menu item for trendlines, and would allow me to select the data for which I need a trendline. Does anyone have any advice or even the scripts to do this? I am not a programmer but I can learn the basics for this if I need to. This feature really should exist. I can't remember ever making a scatterplot and not plotting the trend and equation. Thanks for the help.