Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

google scripts docs highlight

//Will Color the first instance of a string in a document
var document = DocumentApp.openByUrl('myURL');
var hiligherColor = '#F3E2A9';
var stringToColor = 'string';
document.getBody().findText(stringToColor).getElement().asText().setBackgroundColor(document.getBody().findText(stringToColor).getStartOffset(), document.getBody().findText(stringToColor).getEndOffsetInclusive(),(hilighterColor));
Comment

PREVIOUS NEXT
Code Example
Typescript :: oracle objects in tablespace 
Typescript :: typescript function type 
Typescript :: vercel react redirects to index html 
Typescript :: when a vector in c++ is resized what happens to the elements of the vector 
Typescript :: angular workspace 
Typescript :: update behaviorsubject value without emitting 
Typescript :: command line arguments in java 
Typescript :: eliminar un elemento de un array typescript 
Typescript :: java delete contents of file 
Typescript :: tar: refusing to read archive contents from terminal (missing -f option?) tar: error is not recoverable: exiting now 
Typescript :: replace floats in dataframe 
Typescript :: laravel validation exists multiple tables laravel 
Typescript :: listen to server sent events flutter 
Typescript :: file reader with promise 
Typescript :: any typescript 
Typescript :: what is the importance of testng xml file 
Typescript :: flutter constructor default value 
Typescript :: socket.io auth 
Typescript :: how to search for imports in vscode 
Typescript :: nuxtServerInit nuxt 3 
Typescript :: use of value_counts in python 
Typescript :: ts Facade pattern 
Typescript :: cluster list values python 
Typescript :: rust typedef 
Typescript :: import dropdown module p-dropdown 
Typescript :: sql concepts interview questions 
Typescript :: json2typescript ionic 5 
Typescript :: conditional rendering react typescript 
Typescript :: how to bold to custom fonts on Online 
Typescript :: how to create total possible sub sets of a list python 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =