AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Get the selected Item(s) from a 3rd application SysListWin32

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
UncleScrooge



Joined: 14 Apr 2009
Posts: 75
Location: Italy

PostPosted: Sat Nov 14, 2009 11:43 pm    Post subject: Get the selected Item(s) from a 3rd application SysListWin32 Reply with quote

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
View user's profile Send private message AIM Address
svi



Joined: 09 Oct 2006
Posts: 215
Location: Finland

PostPosted: Sun Nov 15, 2009 5:11 pm    Post subject: Re: Get the selected Item(s) from a 3rd application SysListW Reply with quote

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 Rolling Eyes

Have you tried:
Code:
ControlGet, OutputVar, List, Selected, SysListView321, AppWindowName
(works ao. in Explorer and "Microsoft® HTML Help Executable").
_________________
Pekka Vartto
Back to top
View user's profile Send private message
UncleScrooge



Joined: 14 Apr 2009
Posts: 75
Location: Italy

PostPosted: Sun Nov 22, 2009 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group