So right now I'm probably working on my weirdest coding project yet. At school, my friends and I often use a shared google doc to chat during class. (shh)
Anyways, communicating on a google doc can be tough. Things get disorganized, there are problems if multiple people try to type at the same time, etc.. So I decided to use google apps script to add code to a google spreadsheet that will allow for a simple chat program. The basic concept is that each person in the group will have their own page/sheet, where they will see all of the previous messages and a box where they can type. All of the pages will be updated when someone sends a message. So far, I have most of the framework for sending the message and updating that page, but I am still working on syncing the pages. I am also planning on adding a "sign-in" page that opens when the doc is loaded from which you can put your name as will show up in the chat. Here is what the sheet looks like so far:
I don't think this project will take very long to complete, but I will add a few updates, and maybe post a video of the project when it gets to more of a working state.
Also, if anyone has any experience with google apps script: If I have a script bound to my sheet, and that sheet is shared with someone, will the script run on their document?
Anyways, communicating on a google doc can be tough. Things get disorganized, there are problems if multiple people try to type at the same time, etc.. So I decided to use google apps script to add code to a google spreadsheet that will allow for a simple chat program. The basic concept is that each person in the group will have their own page/sheet, where they will see all of the previous messages and a box where they can type. All of the pages will be updated when someone sends a message. So far, I have most of the framework for sending the message and updating that page, but I am still working on syncing the pages. I am also planning on adding a "sign-in" page that opens when the doc is loaded from which you can put your name as will show up in the chat. Here is what the sheet looks like so far:
I don't think this project will take very long to complete, but I will add a few updates, and maybe post a video of the project when it gets to more of a working state.
Also, if anyone has any experience with google apps script: If I have a script bound to my sheet, and that sheet is shared with someone, will the script run on their document?