Posted by Corey Goldfeder, Google Apps Script Team
Want to weigh in on this topic? Discuss on Buzz
That's great.One tiny question: it seems there is no way to access a document description (http://googledocs.blogspot.com/2011/06/tips-tricks-using-description-field-in.html).Am I wrong ? Thanks !
It's worth noting want you can't currently do, that is publish as a service to access the logged in users Gmail or DocList.[As I discovered and documented here http://mashe.hawksey.info/2011/06/what-you-cant-do-with-gmail-and-document-services-now-available-in-apps-script/]Is a fix for this in the pipeline?Many thanks,Martin@mhawksey
You currently cannot get description of a document but please do open a feature request here.http://code.google.com/p/google-apps-script-issues/issues/listIf you have any questions then please post on our forum here:http://www.google.com/support/forum/p/apps-script/
Martin,Scripts that are published run under the identity of the owner. This is for security and privacy reasons. Please see our documentation for more on security in Apps Script.http://code.google.com/googleapps/appsscript/guide_security.html
Could someone point to some documentation detailing how to add custom menu items / actions to a document? I want to add an action to the File menu in an open document. Also, I want to add an action to the Actions dropdown menu in the Document List.
I'm looking through the API reference and I haven't found a way to add an image to document. I see can get the images; but how can I add one!?
Sorry to be such a noob, but I cannot figure out how to get started with this interface. I don't see any way to run a script from within a text document. Do I have to create a spreadsheet to attach my script to, and then load and process a document from there? No way to simply run a script on the active document from within the text document itself?
Marc,You can post your questions at our forum herehttp://www.google.com/support/forum/p/apps-script/Currently, the script editor can be accessed from a Spreadsheet or a Sites page.Saurabh
Got it, thanks! I've started participating in the forum and issue tracker. Definitely hoping to someday see access to scripts from documents (in particular, to be able to get at the current selection!) and the ability to insert images. And yes, I've starred the relevant issues :-)
We store PNG image files in a Google folder and would like to display them in a Google Spreadsheet using "=image()" formula. The image function take the image http/s URL. How do you get this type of "download" URL from inside an Apps Script? DocList? What method?The following guide talks about without providing the request format details:http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#DownloadingFilesThe following Java guide uses getContent() that seems to be missing in the Script APIhttp://code.google.com/apis/documents/docs/3.0/developers_guide_java.html#DownloadingOtherFilesString exportUrl = ((MediaContent) entry.getContent()).getUri() + "&exportFormat=" + fileExtension;
Post a Comment