I just realized how annoyed I get that one of the webpages I work with frequently isn't automatically scrolled to the section I want to view when it's loaded, and I have to manually PageDown/line down until I get to the area I want. Since I mainly write my scripts to get rid of annoyances, that made me wonder if this could be scripted, but I am at a complete loss as to how to approach it.
I now work with the rev.io site for handling accounts receivables. Their site is a bunch of tabs within a page and no keyboard shortcuts, and I haven't yet tried to wrap my head around the intricacies of chrome.ahk or whatever other complex scripts there are out there that might be quicker & less error prone ... but anyhow ... the quick & dirty script I've been using just searches for text & then clicks on the button to switch tabs. I have stuff to scroll down a little bit after it switches tabs, but this rarely ends up being accurate.
So I was wondering if there was any (kinda easy) way to scroll a page in chrome so that specific text is on top?
This is more of a theoretical question since I can't really share access to the site and I don't have any code for this particular task ... just wondering if anyone has tried to tackle this kind of thing and might have any suggestions on where to start ...
thanks!!
Scroll until specific text is at top of window?
Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
-
- Posts: 96
- Joined: 15 Jul 2016, 19:57
Scroll until specific text is at top of window?
Post by shipaddicted » 02 Dec 2021, 20:18
Jump to
- AutoHotkey Foundation
- ↳ About This Community
- ↳ Forum Issues
- AutoHotkey (v2, current version)
- ↳ Ask for Help (v2)
- ↳ Gaming
- ↳ Scripts and Functions (v2)
- ↳ Gaming
- ↳ Tutorials (v2)
- ↳ Tips and Tricks
- ↳ Wish List
- ↳ Suggestions on Documentation Improvements
- ↳ Bug Reports
- ↳ AutoHotkey Development
- ↳ AutoHotkey_H
- ↳ Ask for Help
- ↳ Development
- ↳ Editors
- ↳ Adventure IDE
- ↳ Old Topics
- ↳ AHK Studio
- ↳ Notepad++
- ↳ Pulovers Macro Creator
- ↳ SciTE4AutoHotkey
- ↳ Visual Studio Code
- ↳ Announcements
- ↳ General Discussion
- AutoHotkey (v1.1 and older)
- ↳ Ask for Help (v1)
- ↳ Gaming Help (v1)
- ↳ Scripts and Functions (v1)
- ↳ Gaming Scripts (v1)
- ↳ Tutorials (v1)
- ↳ Tips and Tricks (v1)
- General
- ↳ Other Utilities & Resources
- ↳ Other Programming Languages
- ↳ C/C++
- ↳ ASM
- ↳ C#
- ↳ KeySharp
- ↳ Off-topic Discussion
- ↳ RPA
- Other languages
- ↳ Looking for Volunteers in other languages
- ↳ Deutsch (German)
- ↳ Ich brauche Hilfe
- ↳ Spiele
- ↳ Skripte und Funktionen
- ↳ Tutorials
- ↳ Tooltime
- ↳ Allgemeines
- ↳ 中文 (Chinese)
- ↳ 请求帮助
- ↳ 脚本函数
- ↳ 教程资料
- ↳ 相关工具
- ↳ 其他
- ↳ Español (Spanish)
- ↳ Pedir Ayuda
- ↳ Automatización de Juegos
- ↳ Scripts y Funciones
- ↳ Tutoriales
- ↳ Otras Utilidades y Recursos
- ↳ General
- ↳ Русский (Russian)
- ↳ Помощь
- ↳ Скрипты для Игр
- ↳ Скрипты и библиотеки
- ↳ Статьи и руководства
- ↳ Прочие ресурсы и ПО.
- ↳ Свободное общение
- ↳ Français (French)
- ↳ J'ai besoin d'aide
- ↳ Scripts et Fonctions
- ↳ Tutoriels
- ↳ Autres Utilitaires et Ressources
- ↳ Hors Sujet
- ↳ Português (Portuguese)
- ↳ Ajuda e Suporte Geral
- ↳ Scripts e Funções
- ↳ Tutoriais
- ↳ Outras Ferramentas e Recursos
- ↳ Outros Assuntos
- ↳ 한국어 (Korean)