I tried looking at other questions and didn't find anything specific enough to help me in my situation.
I have main google sheets that I work off of and I am constantly writing new codes in the script tool to help my team and provide information to our customers. Something that I started doing (which is probably a bad practice in hindsight) is creating new google sheets and using SpreadsheetApp.openByUrl() to manipulate the sheets we work off of without writing thousands of line of code into the original sheets code file. I've been doing this for a while and due to lack of organization, I can't seem to find a google sheet I created that runs through one of my main sheets and sends an e-mail to one of our customers.
I send myself the e-mail as well, so I get the e-mail every day. No where in the e-mail is there anything that traces back to the file that the code is ran off of. I realized that the code never does anything on it's own file, so that file does not get pushed up to the top of my file list when I sort by last edited (in Drive).
Does anyone know of any way I can track down this file? Is there a way to get a list of all code projects I have in my account? Please let me know. Thank you!
Last run in My Triggers (Tools > Script Editor > Edit > Current project's triggers or All your triggers) should narrow you search.
Tools > File Open offers My Projects on the left.
(I don't have the minimum reputation to put a comment)
It sounds like there are a lot of moving pieces going on here. Without narrowing down your search criteria it may be difficult to easily isolate the file in question. It may be possible to put some kind of unique stamp in the emails that can be correlated with the underlying file in question.
You may be able to go to https://script.google.com/home/my and on the right side of the page opening the settings for each project you can click on "Executions" to start digging into the scripts that are running.
Related
Am trying to create a chat application using Converse.js. As a student am trying to figure out where to start from in order to edit the code to suit my application. i can not figure out things like the entry point of the application.javascript. i need pointers. Looking for step by step video on youtube yields nothing meaningful for me, i can not find anything meaning full. The online documentation i think its for advanced users. Am looking for some sort of baby steps. what i want is able to edit the source code without a hustle
I tried running it on my localhost and and connecting. Wat am concerned about is editing the source code
I have a spreadsheet I manually fill out every day where I fill in sleep data recorded by my Whoop strap. As a fun project I thought I'd make this automatic and take advantage of the developer tools for Whoop and Google Sheets. Should be noted that I have experience in scientific computing (Matlab and Julia), but absolutely zero web dev experience.
I tried following the instructions in this link which goes through setting up the HTTP request to get sleep data. However, in order to get that to work, I first need to get an access token, so I tried following this tutorial which goes over authentication. I think I know what each of these is doing, but I'm struggling to put it into context of how the overall script will look. Should I just put all those bits of code into a single .js file and just run that? I see terms such as "middleware stack", "routing layer" and "server-side frameowrks" Are these relevant to the presumably simple script I'm trying to implement?
The perfect answer would be directions to any tutorials/books/articles/videos where someone implemented a similar idea just so I get a better idea of how it should all look.
Thanks in advance!
I'm in the process of designing a website which will take user information and a file from a user on a website. My aim is to then take this information, run a script on it and then return the user a document with the analysed information on it by email (which they have provided). The script is written in Python but theoretically could be written in most languages. I'm a bit stuck on where to begin so I'm looking for suggestions on how to do this in terms of how to structure this project and make it as automatic as possible. I know Python and have recently learned react but my backend knowledge is poor.
Thanks in advance.
You will have to start by actually knowing how data analysis works and how to code it, you can start with this simple article that shows how you make:
histograms.
bar charts.
Boxplot.
It shows a few ways of handling data, etc in python!.
In terms of "structure", I would say it depends on what type of Data you are working with, if the user is doing a form or quiz then you can save the answers to variables which you then process before sending it back.
If else your platform has a selection of categories then you can try saving what your user upvotes/likes. You could also learn how to work with databases, start with these excercises that can give you more inspiration and solutions.
Really hopes this sets you on the right path, good luck deving!
So first of pardon me for being really noobish at this. I'm trying to build a site from an HTML5 template for a small music company I work with for fun and educational reasons. I have very limited knowledge of Web development, but I am able to edit the template and have done quite a bit of reading to try to understand how everything works. I find that it's much easier to do so than having to build it from scratch, which could take months to do so properly. (Not to say I don't want to learn, but I'd like to get this done quickly if I can).
So let me get right to it, and I'll try to be short. The company is a music promotion company. They need the following pages: about, team, in-house musician bios, blog, contact form and events. I have pretty much everything figured out (the blog and musicians currently need to be properly finished in terms of content and CSS), except for the events page.
Currently its a static album that pulls images link by link from a Google Drive folder instead of the Web server (For ease of access). The issue with this is that every time an event is outdated or new ones need to be added, I have to manually update the index file and change the links, which is time consuming and unnecessary. I want this site to be fairly autonomous, so that I don't have to log into the server every few days and change the index file over and over. I hope you understand where I am coming from.
So, my idea is to use the same Drive folder, but have the site automatically pull the images, properly resize them (if possible) and show them on the page. I haven't found an easy solution to this yet, and with my lack of web experience, I don't think I can write this myself. I know self updating albums that pull form the server exist and can be found online, but those still require FTP access, which is not bad, but can be improved on.
So the process I think is as follows
Fetch images from shared drive folder via Drive API
Fetch individual image link
Insert each link dynamically into an array/table.
Have individual row/column resize the image.
Here is what the site I am working on currently looks like: http://rushone2010.x10host.com/ocml
And here is their current site: http://www.ocmusicleague.com/
The culprit is in the idea of automatically fetching the images every time they get updated/removed from the Drive folder, without server access. Sort of reminds me of this:
I'm trying to create a simple google gadget and am encountering trouble right out the door. I've read the getting started guide top to bottom and feel like i'm still missing something.
Starting with the Hello World gadget they have provided, how do I begin editing and testing? I'm using the Google Gadget Editor with the preview tab. This works for simple html, but any javascript (such as an "alert") I embed doesn't work.
I can publish the gadget and add it to iGoogle. When I do this, my embeded javascript works. However there seems to be a good bit of caching and latency going on behind the scenes. Right now this process of editing, uploading, publishing, debugging is quite painful. Am I missing something obvious here? What is the "correct" way to develop and test a gadget? Is there a program that can run gadget code on my machine without having to go online?
Ah, the joys of editing a Google Gadget.
From my experience the Google Gadget editor is VERY buggy. So that may be the Javascript issue you are having, try switching browsers.
Also, to disable caching:
http://www.google.com/ig/directory?type=gadgets&url=www.google.com/ig/modules/developer.xml
The answer appears to be "No" as far as I can tell. I have also suffered the painful latency you mention: one code/debug cycle can easily take 10 minutes of waiting for the gadget to update to my latest code.
I hope someone marks me down and provides a "Yes" answer.
Try appending a query string to your gadget URL and then add it to your gmail or iGoogle page. Use a different query parameter every time you make changes to your gadget. Like for example:
www.mycompany.com/gadgets/main.xml?q=1234
Google refreshes the cache every hour or so. So, adding a query string will force it to refresh the gadget immediately.