| View previous topic :: View next topic |
| Author |
Message |
johnniemac
Joined: 13 Feb 2008 Posts: 2
|
Posted: Wed Feb 13, 2008 9:36 am Post subject: Newbie: Read information from a text box to a file |
|
|
Hi,
I am a newbie, so please be patient.
I am looking for some pointers for the following.
Identifying a text box control in a windows
reading the information
and writing it to a file.
I am not sure if it is a text box/could be a list box, so first how can I enumerate the control on a window to find out.
Thanks
JohnnieMac |
|
| Back to top |
|
 |
dmatch
Joined: 15 Oct 2007 Posts: 113
|
Posted: Wed Feb 13, 2008 4:13 pm Post subject: |
|
|
You might find AU3_Spy useful in determining the ClassNN name of the controls that are in a window. AU3_Spy.exe should be in your AutoHotKey program folder (same folder with AutoHotKey.exe in it). Run it then switch to the window you are interested in and move the mouse over the controls to see there names. This may or may not give you any useful information, but is a place to start.
AU3_Spy might show you a useful "ClassNN" name of the control and that potentially could be used to do what you want. No promises though.
If you can get the ClassNN name of the control then you could try using ControlGetText or ControlGet, List (see AutoHotKey helpfile). If that works then use FileAppend to write the text to a file.
dmatch |
|
| Back to top |
|
 |
|