Skip to content

Instantly share code, notes, and snippets.

View whalderman's full-sized avatar
☠️
Node & TS

Warren Halderman whalderman

☠️
Node & TS
View GitHub Profile
@whalderman
whalderman / countMoji.js
Last active August 31, 2022 01:29
Google Docsで特定の色の文字をカウントする / Count characters of a certain color in Google Docs
const body = DocumentApp.getActiveDocument().getBody();
function onOpen() {
const menuButtonText = Session.getActiveUserLocale() === 'ja'
? '色で文字を数える'
: 'Count Characters by Color';
DocumentApp.getUi()
.createMenu("BCJ")
.addItem(menuButtonText, "displaySelectedColorMojiCount")
### Keybase proof
I hereby claim:
* I am thewarrman on github.
* I am whalderman (https://keybase.io/whalderman) on keybase.
* I have a public key whose fingerprint is FE19 8242 E5E1 9B85 17C2 5BA2 2985 BD2A 1793 2F5B
To claim this, I am signing this object: