Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

WPF manipulate properties of another window

$
0
0

Hey

I'd need some help with getting and manipulating elements in WPF applications form.
So far I've had success doing so using WPF Inspector, and so I downloaded the source code of it, however it seems that its either incomplete or just reformatted so that running project form VS does not compile the same exe as it is installed. This results in source project not working at all beyond the point of detecting WPF applications currently running, so I can't help much by it.

Basically what I need to achieve is hook/attach to the running application's window, get some objects/buttons, and manipulate it's properties (isPressed, isEnabled) programmatically.

I made a simple UDP socked in a new project to get messages from my Android app, but I have no idea (and no experiences) how to control WPF components/objects.

As a side note I should add, I've only been working with C# for the last few weeks so I'm total novice,  I do have long term experience with Flash and AS3 though, so I should get the syntaxes pretty fast.


Would anyone be so kind to help me out, point me to the right direction or maybe provide a simple sample on how to achieve something at least similar to what I need?

Thank you.



Cheers,
Glenn


Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>