I want to write a app script that can get the selected cells
and show it on the html input text.
example:
when I selected A1 cell, then the input text will show A1
also if I selected a range between A1 to B11, then it will show A1:B11
I know getActiveRange().getA1Notation()
can get the cell.
But how to monitor the drag select event?
I made this as a possible solution. The app script looks like this. It works quite well. Not sure if it is what you are looking for.
The side bar has function that calls every 200th of a second. Making it look like it is getting the data on mouse drag.