看板 Google 關於我們 聯絡資訊
我設計了一個借用物品的 Google 試算表如連結: https://goo.gl/qlDXlY 我想要的效果是:若 I 欄的值變成「逾期」,則自動寄信到 G 欄內的借用者 E-mail, 通知借用者該還物品了。 https://productforums.google.com/forum/#!topic/docs/wNPae26EtGI 其實我已經搜尋到討論區解答,但是因為沒有寫 Script 的基礎,不了解這篇文章的解答 要如何實際套用? 解答者說要 1. go to Tools –> Script Editor. You will see some 'code'. 2.Go to the Run menu and choose Initialize. The Google Script will now require you to authorize the script – just click the Accept button and you’re done. 問題在於我的 Run menu 並沒有 Initialize 這個選項,只有一個 myFunction 方便請問先進們,要如何套用此解答裡的 Script 呢?感恩! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 49.159.192.74 ※ 文章網址: https://www.ptt.cc/bbs/Google/M.1489410156.A.307.html
bluecadence: 你要把那個範例寫進你自己的script裡。那個範例裡有 03/13 21:27
bluecadence: 兩個 function, 一個 Initialize(), 一個 SendNotif 03/13 21:27
bluecadence: ication()。把這兩個function寫進你的script,你就 03/13 21:28
bluecadence: 會在run menu看到這兩個function的選項 03/13 21:29
bluecadence: 那個myFunction只是系統預設的空函數,你開新的 03/13 21:30
bluecadence: script都會出現,刪掉就好 03/13 21:31
bookmusic: 謝謝,我已經寫進 Script 裡了,但應該要再修改 03/14 07:25
bookmusic: 成符合我設計的借還登記表,苦手中,有點難度 QQ 03/14 07:26