 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
CMark Guest
|
Posted: Thu Apr 10, 2008 5:58 am Post subject: How to get text from a control ? |
|
|
How to get text from a control ?
The window has edit control: ClassNN=Edit3, Text="File.txt"
For this edit control I get text with:
| Code: |
ControlGetText, OutputVar, Edit3, WindowName
MSGBOX OutputVar = %OutputVar%
|
This works OK (displays: "OutputVar = File.txt").
The window also has static/text control: ClassNN=Static10, Text="File size: 10 KB"
For this control I tried to get text with:
| Code: |
ControlGetText, OutputVar, Static10, WindowName
MSGBOX OutputVar = %OutputVar%
|
But this doesn't work OK (displays: "OutputVar = Static").
The window also has static/text control: ClassNN=Static12, Text="File ext: txt"
For this control I tried to get text with:
| Code: |
ControlGetText, OutputVar, Static12, WindowName
MSGBOX OutputVar = %OutputVar%
|
But this doesn't work OK (displays: "OutputVar = ").
How to get text from a static/text control ? |
|
| Back to top |
|
 |
DJAnonimo
Joined: 10 Sep 2006 Posts: 146
|
Posted: Thu Apr 10, 2008 12:26 pm Post subject: |
|
|
really strange
did you tried with DetectHiddenText, On ? |
|
| Back to top |
|
 |
CMark Guest
|
Posted: Thu Apr 10, 2008 2:06 pm Post subject: |
|
|
DJAnonimo wrote:
| Quote: |
really strange
did you tried with DetectHiddenText, On ?
|
Yes, I tried that.
It didn't help. |
|
| Back to top |
|
 |
jaco0646
Joined: 07 Oct 2006 Posts: 559 Location: MN, USA
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|