그림처럼 구글 스프레드 시트 오른쪽 하단에 토스트 메시지를 띄우는 코딩이다.


function greeting() { SpreadsheetApp.getActiveSpreadsheet().toast("Toast tester", "Greeting", -1); }


구글 시트에 메뉴 삽입 그림에서 텍스트를 입력한다.



toast() 함수 매개변수 참조는 아래와 같다.

toast(msg, title, timeoutSeconds)

+ Recent posts