New answers tagged

0

I had the same issue and tried to solve it with Vidar's answer but because of deprecation it didn't work. The actual solution is the link by @hadi in the comment on Vidar's answer. "Vidar This is a great answer. I cleaned it up, and updated some of the deprecated methods, and got rid of unnecessary functions, and also modified it to be run from within the ...


0

Uncheck "Tools/ Spelling and Grammar/ Show Grammar Suggestions."


0

The big challenge here, I presume, is to convert .docx to Google doc using apps script. Here is this sub-problem discussed: Can I convert a MS Word document to a Google Document format using GAS?


0

I could not drag a tab stop that had been created for a hanging indent. The solution was to click in menu on Format > Align & indent > Indentation options > None. This removed the tab stop.


0

CTRL + SHIFT + V doesn't work any more. Use Enter > CTRL + V > Enter instead.


1

Google Docs on a Mac: option+hyphen = en-dash, option+shift+hyphen = em-dash


0

You can only assign a comment thread to a person by mentioning them in the comment text using the +[email] notation (tip: you can use the @ sign during typing and it will be replaced with the + sign). When you do so, on the bottom of the comment Window you will see a checkbox appear to assign the thread to that person (before you save). If you mention ...


0

It is not possible. Simply because it is a different application. Google Docs is a text application so it is programmed to be able to convert to other text formats while Google drive is a storage application. Similarly, Microsoft Word can convert to other text formats (or Photoshop can convert from .jpg to .png) while Windows cannot.


0

May be you need something like this function newFunction() { var order = PropertiesService.getScriptProperties().getProperty('order') || '1'; switch (order) { case '1': functionOne(); break; case '2': functionTwo(); break; case '3': functionThree(); break; } var nextOrder = '' + (+order < 3 ? +...


0

This works for me fine /** * * @param {GoogleAppsScript.Document.Document} doc */ function setСenterAlignmentForAllTables_(doc) { var style = {}; style[DocumentApp.Attribute.HORIZONTAL_ALIGNMENT] = DocumentApp.HorizontalAlignment.CENTER; style[DocumentApp.Attribute.VERTICAL_ALIGNMENT] = DocumentApp.VerticalAlignment.CENTER; var tables = ...


1

Here, Finally, I found this: "Workaround for Google Docs Page Numbering Problem to Start from a Specific Number" https://www.youtube.com/watch?v=2cGSqiKZ3wI Simply just create a word that contains paging start from a specific number and then upload it to Google drive. That's it. You can use https://writer.zoho.com/writer


0

You can remove/change the background color by going to File > Page Setup. In the Page Setup dialog box, go to Page Color.


1

Select one paragraph above the paragraph in focus, the paragraph in focus and one paragraph below Cut (keyboard shortcut Ctrl + X) Paste as plain text (keyboard shortcut Ctrl + Shift + V) Apply text formatting as needed.


0

You can use the following script: function LeadingBlanks() { var document = DocumentApp.getActiveDocument(); var lblanks = ""; var regExp = "^[[:blank:]]*"; document.replaceText(regExp, lblanks); } EDIT As suggested by Vincent Scheib the above code can be further compacted/simplified function LeadingBlanks() { var document = DocumentApp....


2

Yes there is a way and many people already accomplished this (including me) by publishing the now called G Suite Add-ons. For details please read https://developers.google.com/gsuite/add-ons I already mentioned two of my add-ons here on Web Applications, Record Viewer and Spreadsheet Freezer. Record Viewer In Google Sheets: How do I merge a range of a row ...


Top 50 recent answers are included