Sign in to follow this  
Followers 0
lianhc

$text = _GUICtrlListView_GetItemText($hListView, 1, 1) ; here always return null both on x86 or x64,

5 posts in this topic

$hListView = ControlGetHandle($handle,"","SysListView321")

$text = _GUICtrlListView_GetItemText($hListView, 1, 1)  ; here always return null both on x86 or x64,

Anyone can help me? thx!!!!!!!!!!!

the information of target listview as following

 

>>>> 窗口 <<<<
标题: 遗传算法 属性
类名: #32770
坐标: 119, 135
大小: 672, 545
样式: 0x94CC2044
扩展样式:0x00010501
句柄: 0x014D1380
 
>>>> 控件 <<<<
类名: SysListView32
实例: 1
类别名: SysListView321
名称:
高级(类名):[CLASS:SysListView32; INSTANCE:1]
ID: 2140
文本:
坐标: 21, 39
大小: 615, 400
控件点击坐标:213, 168
样式: 0x50011C05
扩展样式:0x00000204
句柄: 0x00A21036
 
>>>> 鼠标 <<<<
坐标: 361, 372
光标ID: 0
颜色: 0xFFFFFF
 
>>>> 状态栏 <<<<
 
>>>> 工具栏 <<<<
 
>>>> 可见文本 <<<<
模拟数目: 1
确定
取消
 
 
>>>> 隐藏文本 <<<<
CustomCombo
.45
CustomCombo

Share this post


Link to post
Share on other sites



this SysListViewer32  seems quite different with others like  SysListViewer32 of filters VirtualDub, since I can run script on SysListViewer32 of filters VirtualDub well, but failed on my SysListViewer32. 

this one is OK

post-87507-0-65579500-1411654605_thumb.p

my is failed.

post-87507-0-08174200-1411654611_thumb.p

How to do?.

THX

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Use

$text = ControlGetText("SysListViewer32", "", $hListView)

instead of

$text = _GUICtrlListView_GetItemText($hListView, 1, 1)

?

Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0