Retry data from external TreeView

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
MostWanted
Posts: 11
Joined: 03 Jan 2021, 07:46
Contact:

Retry data from external TreeView

01 Mar 2021, 06:33

Hi, everyone. I've tried to read most of articles on the forum and in google search. Plus, of course, manual. But, can't find needed answer.
So, i'm dealing with external TreeView (mean tree view in external application of course).
It has name - SysTreeView321

And it has table structure. Means 2-5 columns. But, when i've tried to retry data from there trying to use TV or whatever code, it's just fails.

For the ListView i'm using below code to retry data:

Code: Select all

ControlGet, Roles, List, Focused Col5, SysListView321, A
MsgBox %Roles%
I know that for tree view we can't use this algorithm . Since first we have to loop the tree and then retry.
So, i've tried to use TV_GetSelection and TV_GetText with no luck. I've tried to use some old posts about Acc library, but also seemed doesn't work.

My goal is to read data from treeview. Means, i'm able to select (put cursor on) it, but can't retry data.

Thx for your help in advance.
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Retry data from external TreeView

01 Mar 2021, 06:37

Check out Send-/PostMessage too. Good luck :)
PS. that might come handy (the TVM/-N section): https://www.programmersought.com/article/87852732426/
User avatar
MostWanted
Posts: 11
Joined: 03 Jan 2021, 07:46
Contact:

Re: Retry data from external TreeView

01 Mar 2021, 06:43

BoBo wrote:
01 Mar 2021, 06:37
Check out Send-/PostMessage too. Good luck :)
PS. that might come handy (the TVM/-N section): https www.programmersought.com /article/87852732426/ Broken Link for safety
I'm not talking about selecting/activating lines in treeview. I'm talking about getting data and saving it into variable.
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Retry data from external TreeView

01 Mar 2021, 06:55

There are 20 Params labeled "...Get...". Well, I'm obviously wrong. Nevermind. :silent:
User avatar
MostWanted
Posts: 11
Joined: 03 Jan 2021, 07:46
Contact:

Re: Retry data from external TreeView

01 Mar 2021, 07:11

Thx dear. i also saw that topic posts, but didn't succeed to run. My question then, do you say it's still relevant script to read treeview. I mean should i dig deeper into that topic? It's just for a few month i'm trying to solve that issue, and just to make sure that it's not that "take a look" but a workable version.
just me
Posts: 9574
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: Retry data from external TreeView

01 Mar 2021, 08:37

I think the functions should still work. How do you try to use them?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot] and 268 guests