Automation with Google Apps Script Triggers Simple Triggers automation and more

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

ความคิดเห็น • 9

  • @gsheetssolutions
    @gsheetssolutions 2 ปีที่แล้ว +1

    Hi Laurence. How to stop or delete trigger. If have a daily trigger creating a new template daily and I want it stop if it reaches the end of month and start the daily template creation with a fresh new sheets or file for the following month

    • @LaurenceSvekisCourses
      @LaurenceSvekisCourses  2 ปีที่แล้ว

      /**
      * Deletes a trigger.
      * @param {string} triggerId The Trigger ID.
      * @see developers.google.com/apps-script/guides/triggers/installable
      */
      function deleteTrigger(triggerId) {
      // Loop over all triggers.
      const allTriggers = ScriptApp.getProjectTriggers();
      for (let index = 0; index < allTriggers.length; index++) {
      // If the current trigger is the correct one, delete it.
      if (allTriggers[index].getUniqueId() === triggerId) {
      ScriptApp.deleteTrigger(allTriggers[index]);
      break;
      }
      }
      }

    • @LaurenceSvekisCourses
      @LaurenceSvekisCourses  2 ปีที่แล้ว

      You can do it with code or manually

    • @gsheetssolutions
      @gsheetssolutions 2 ปีที่แล้ว

      Appreciate it Laurence. You're awesome as always. I did enroll to your udemy course as well 😁

  • @gsheetssolutions
    @gsheetssolutions 2 ปีที่แล้ว +1

    Hey Laurence. Hoping you'll also a tutorial for web app data table with bootstrap and data cell are clickable and a dialog box with details will appear. Thamk youuu

    • @LaurenceSvekisCourses
      @LaurenceSvekisCourses  2 ปีที่แล้ว

      I have several new ones coming soon

    • @gsheetssolutions
      @gsheetssolutions 2 ปีที่แล้ว

      @@LaurenceSvekisCourses Thanks Laurence. Looking forward on this

  • @interestinginvestments1805
    @interestinginvestments1805 2 ปีที่แล้ว +1

    I want to use the appendrow function with the modification that a row appended should always appear in the row just below that row in which appendrow function is used
    Plz guide

    • @LaurenceSvekisCourses
      @LaurenceSvekisCourses  2 ปีที่แล้ว

      You would need the current row value , and then append to the following index value.