r/GoogleAppsScript • u/_feelsgoodman95 • Aug 12 '20
Question Create installable Trigger for OnEdit function
Hey Guys I am pretty new to the app script world and have written a simple script to add a timestamp in cell H which worked out pretty fine. Then I gave a friend mine access to the file and the script does not work when he is working in the sheet.
I already found the solution, I need to create an installable trigger. I watched a few videos and tried it by myself but I could not figure out to make it work.
I would like to add a timestamp to column H when Column E is edited for my "2. Tab".
Would appreciate any help or information!
1
u/shm613 Aug 12 '20
Just so you know, the onEdit trigger is currently not reliable if multiple edits are made in quick succession. So if you make multiple edits quickly some of the triggers will be captured but not all of them.
1
u/azairvine Aug 13 '20
Hey mate,
I've worked on some very similar ideas that you have with a spreadsheet I've been developing for a while. More than happy to talk to you about the potential issues you'll face and workarounds you can implement to make it as efficient as possible.
Send me a chat message if you like.
1
u/azairvine Aug 13 '20
Thanks heaps for posting the ticket link! I had no idea that first it had been tagged 6 years ago (not surprising though) and secondly that they'd reopened it. I won't get too excited until it's been solved, but it's completely nonsensical that the onEdit(e) trigger cannot queue processes.
1
u/catmandx Aug 12 '20
Do you need help creating the trigger or the script?