| View previous topic :: View next topic |
| Author |
Message |
UncleScrooge
Joined: 14 Apr 2009 Posts: 75 Location: Italy
|
Posted: Sat Nov 14, 2009 11:43 pm Post subject: Get the selected Item(s) from a 3rd application SysListWin32 |
|
|
| Code: | ControlGet, LV_Hwnd, Hwnd, , SysListView32_ID, AppWindowName
ControlGet, LV_Choice, Choice, , , ahk_id %LV_Hwnd% |
this doesn't work.
I fiddled around for awhile with LVM_GETITEMTEXT but all I managed to do had been crashing the application owning the SysListView32. Guess I did something wrong with the LV_ITEM structure
hints?
thnx for reading _________________ Intel Centrino @ 2.8GHz
4 GB RAM
WIN XP SP3 |
|
| Back to top |
|
 |
svi
Joined: 09 Oct 2006 Posts: 215 Location: Finland
|
Posted: Sun Nov 15, 2009 5:11 pm Post subject: Re: Get the selected Item(s) from a 3rd application SysListW |
|
|
| UncleScrooge wrote: | | I fiddled around for awhile with LVM_GETITEMTEXT but all I managed to do had been crashing the application owning the SysListView32. | Sounds familiar
Have you tried: | Code: | | ControlGet, OutputVar, List, Selected, SysListView321, AppWindowName | (works ao. in Explorer and "Microsoft® HTML Help Executable"). _________________ Pekka Vartto |
|
| Back to top |
|
 |
UncleScrooge
Joined: 14 Apr 2009 Posts: 75 Location: Italy
|
Posted: Sun Nov 22, 2009 7:53 pm Post subject: |
|
|
Absolutely! thnx svi
(sorry for the late thanks... better late than never hu?) _________________ Intel Centrino @ 2.8GHz
4 GB RAM
WIN XP SP3 |
|
| Back to top |
|
 |
|