Hello,
as it was obvious in the other thread I am searching for some text capture thingie.
De to some other thread I came across Capture2Text which worked well enough fopr my purpose,
at least if i mark the area with the mouse.
now there are some things that I am currently not yet happy with:
1) the "marking the area with the mouse" thing.
In the end I want an auomated script that does stuff on it's own in the background without me having to do anything.
So having to mark text is counterproductive.
instead of marking the text with the mouse, I'd like to just write a specific coordinate set (2 actually, one for the upper left
and ine for the bottom right) in the script and the ocr does it's stuff on it's own.
So I don't have to hint it to where the to be captured text is.
2) while displaying the captured text in a text box is cool to . well.. see if it even works,
it ain't the real thing for me.
I want to use the captured text in an AHK script and do stuff based on it.
Like if he captures a 5, I want it to this.
if he captures 9, I want to do it something else.
Anyways I want to use the capture2text's output as a variable in another AHK script.
How could I do that in the easiest way?
How do I in general store such output in a variable?
Cause at some point I also plan to get one output at some time
and another output at a later time and calculate their difference (both are numbers).
3) Is there some way to do stuff in the background aka limiting the whole action to a certain window?
for example I'm working in firefox in the foreground while in the background chrome is open and capture2text and AHK script are
doing their job there without interfering with me?
Commands like controlclick have that implemented directly, but can I specifically enforce that?
Thanks in advance!
- Home Board index General Off-topic Discussion
- Search
-
- It is currently 28 Mar 2024, 20:35
- All times are UTC-05:00
Help with Capture2Text and how to use it together with AHK script?
Talk about anything
Return to “Off-topic Discussion”
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)
Who is online
Users browsing this forum: No registered users and 85 guests