get treeview items text color from another applications

Windows specific forum
ehowington
Enthusiast
Enthusiast
Posts: 117
Joined: Sat Sep 12, 2009 3:06 pm

get treeview items text color from another applications

Post by ehowington »

How to gather from a separate applications not coding in purebasic at all but get the items within the treeview and get the items text color and if bold?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: get treeview items text color from another applications

Post by IdeasVacuum »

Not sure how to collect that info. You will probably need to get the font used in order to know if it is bold or not. Getting the items (text) is tricky as well since some branches may be collapsed and others not. Finally, the app may be using Windows widgets/gadgets etc, but it may not be - it could be using owner-drawn, depends mostly on the programming language used to develop it.

If you are targeting a specific app, then you can find out a lot about it first - most interesting would be how it stores the tree data, since if something like an XML file is used you might be able to read the info you require directly from that file.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
ehowington
Enthusiast
Enthusiast
Posts: 117
Joined: Sat Sep 12, 2009 3:06 pm

Re: get treeview items text color from another applications

Post by ehowington »

well im using autoit which supports a great deal but I need more direct commands to a targeted tree which three main headers and chidren mostly text colors for the children and if bold
Post Reply