Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-11 19:07:23 EDT

Explore

PostsPeople
LatestRanked
@cloud-captains.comSep 18, 2026, 3:20 PM

Google Apps Script now supports data regions. You can finally specify the geographic location for script execution and storage to help with your compliance requirements.

#GoogleWorkspace #AppsScript

@bulldo.gsSep 10, 2026, 11:19 AM

Google Apps Script gotcha: .atHour(9) is not 9:00. It fires somewhere in the 9-10 window, and it drifts day to day.

ScriptApp.newTrigger("daily").timeBased().atHour(9).everyDays(1).create();

So never derive "yesterday" from when the trigger ran. Filter on the timestamp in the row.

#AppsScript

@bulldo.gsSep 9, 2026, 11:22 AM

Ask: next week's meetings in a sheet, every Sunday.

Google Apps Script, weekly trigger:
const ev = CalendarApp.getEvents(mon, sun);
if (!ev.length) return;
sh.getRange(2,1,ev.length,2).setValues(ev.map(e=>[e.getStartTime(),e.getTitle()]));

A quiet week is 0 rows, and setValues throws. #AppsScript

@bulldo.gsSep 7, 2026, 11:18 AM

Google Apps Script gotcha: two form submits in the same second both read getLastRow() = 40, both write row 41, one silently overwrites the other.

sheet.appendRow(row) is atomic — the one write that cannot lose that race.

If you must setValues(), take a LockService lock first. #AppsScript