google-docs

Google Apps Script Event Manager

余生长醉 提交于 2019-12-21 06:44:46
问题 I'm currently trying to use Martin Hawksey's Google Apps event manager from his blog, but I am running into 2 problems. #1) The date in the conformation emails is posting the "today's" date & time instead of the event date & time (it's in his original and he never fixed it). Most are saying has to do with this section not being right: var variableData = isDate(data[normalizeHeader(templateVars[i])]); email = email.replace(templateVars[i], variableData || ""); } return email; } // Test if

Google Apps Script Event Manager

不问归期 提交于 2019-12-21 06:43:07
问题 I'm currently trying to use Martin Hawksey's Google Apps event manager from his blog, but I am running into 2 problems. #1) The date in the conformation emails is posting the "today's" date & time instead of the event date & time (it's in his original and he never fixed it). Most are saying has to do with this section not being right: var variableData = isDate(data[normalizeHeader(templateVars[i])]); email = email.replace(templateVars[i], variableData || ""); } return email; } // Test if

Open local PDF file in WebView using Google Docs

拥有回忆 提交于 2019-12-21 04:39:27
问题 There are a million similar questions/answers, all addressing how to open a remote PDF file using Google Docs + webview. None address how to open a local PDF file. Given these strings: String remotePath = "https://myserver.com/data/files/organization/4/pdf/kalinka1369-1374847709-55.pdf"; String localPath = "file:///storage/emulated/0/Droid Noid/com.story.chapters/kalinka1369-1374847709-55.pdf"; String googleDocsURL = "https://docs.google.com/gview?embedded=true&url="; This works: webview

How does Google Docs autosave work?

故事扮演 提交于 2019-12-21 04:14:27
问题 Okay, I know it sounds generic. But I mean on an AJAX level. I've tried using Firebug to track the NET connections and posts and it's a mystery. Does anyone know how they do the instant autosave constantly without DESTROYING the network / browser? 回答1: My guess (and this is only a guess) is that google uses a PUSH service. This seems like the most viable option given their chat client (which is also integrated within the window) also uses this to delivery "real time" messages with minimal

How to force newlines in Google Apps jsdoc descriptions

不问归期 提交于 2019-12-21 04:03:02
问题 I can't figure out how in a Google Apps Script to display this correctly. I need it to display new lines in the jsdoc output(e.g. when the function tooltip window comes up in a Spreadheet functions.) I have tried html like however it is just rendered as text and not a line break. For example: /** * Converts the prefixed value to the specified base. * Requires one of the following prefixes: * '0b' Base 2: binary * '0q' Base 4: quaternary * '0o' Base 8: octal * '0x' Base 16: hexadecimal * *

Javascript word processor/editor (or, Google Docs architecture) [closed]

不羁岁月 提交于 2019-12-21 03:59:21
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I thought it would be interesting to roll my own text editor a la Google Docs, purely for curiosity of course (nothing to do with reinventing the wheel). I've been wondering how applications like Docs and Zoho

ISO-8601 String to Date in Google Sheets cell

柔情痞子 提交于 2019-12-20 10:17:33
问题 I have a bunch of ISO-8601 formatted strings in a column of my sheet. How can I get google sheets to treat them as Dates so I can do math on them (difference in minutes between two cells, for example)? I tried just =Date("2015-05-27T01:15:00.000Z") but no-joy. There has to be an easy way to do this. Any advice? 回答1: To get an actual Date value which you can format using normal number formatting... =DATEVALUE(MID(A1,1,10)) + TIMEVALUE(MID(A1,12,8)) eg. ╔═══╦══════════════════════╦═════════════

Script to automatically make a copy of a Google Document for editing

扶醉桌前 提交于 2019-12-20 09:51:53
问题 I feel like a total noob posting here. I know CSS, HTML, and XML pretty well but have always avoided JS. I know very little javascript and recently started a Lynda.com course to catch up. Sorry for my ignorance. As such, I am really struggling learning Google Apps Script. Obviously, I need to learn JS before I can make sense of any of it. The school I work for (5000 students) has set up an online curriculum. I created the curriculum in the form of thousands of google document worksheets.

Google doc no preview available error

≡放荡痞女 提交于 2019-12-20 09:38:36
问题 I used the google doc to display the pdf file in web broswer. It was working fine before. Now it gives no preview available. Most of the time it gives the blank screen with no preview available but sometime it opens the pdf. However i noticed that if the size of the pdf is small, it works fine but if the size is a bit larger with 10-100 or more pages, the no preview is shown. link: https://docs.google.com/gview?embedded=true&url=http://trafficpolice.gov.np/traffic/uploadfiles/56a0e8156d4ea

Programatically updating a spreadsheet hosted on google docs

℡╲_俬逩灬. 提交于 2019-12-20 09:24:58
问题 I've got a pre-existing spreadsheet hosted on google docs. Each month I update this document. I've got a template workseet in the spreadseet that I'd like to clone and then update. I'd prefer to clone the worksheet rather than create it from scratch as it has some pretty complex formulas. I'm using the Python api for the google docs here: http://code.google.com/apis/spreadsheets/data/1.0/developers_guide_python.html Does anyone know how to clone and copy a worksheet in a pre-existing document