I'm looking for a way to automatically scroll to the bottom of a Google doc every time I open it. Something functionally equivalent to this answer would be great.
The only way I'm familiar with doing this automatically is to put a bookmark at the end of the document and open up that document by navigating straight to that bookmark's URL.
Shortcuts to go to the end of the end of the document are
- Windows: Ctrl + End
- Macs: Command + End
- Chromebooks: Ctrl + Search + Right arrow
You can also hold Shift and click the scrollbar to jump to a section on the page. But I don't know if there's any way to do this once the Google Doc is fully loaded.
this script should work with Google Docs document:
var file = SpreadsheetApp.getActiveSpreadsheet(); var sheet = file.getActiveSheet(); var row = LineToScrollTo; file.setActiveCell(sheet.getRange(row,1));