参考
https://autohotkey.com/boards/viewtopic.php?f=6&t=40615
代码
可以正常获取鼠标下控件文本, 可是使用 acc_get 时候就不能按指定路径获取文本了
用 accviewer 获取的 qq 对话文本框 acc 路径为
3.2.1.1.2.1.2.1.2.1.4.1
使用
Acc:=Acc_Get("Object", "3.2.1.1.2.1.2.1.2.1.4.1", 0, "ahk_id " hWnd)
函数后, Acc.accName(0) Acc.accName(1) Acc.accValue(0) Acc.accValue(1) 都不能取值
- Home Board index Other languages 中文 (Chinese) 请求帮助
- Search
-
- It is currently 18 Apr 2024, 22:03
- All times are UTC-05:00
使用 Acc 还是不能按路径获取 QQ 对话文本
遇到了问题?请先进行搜索(中文和英文),然后在此提问
Moderators: tmplinshi, arcticir
-
- Posts: 6
- Joined: 29 Dec 2017, 23:40
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 62 guests