Can we get a handle of any .exe file running in Windows using m-scripts ?

2 views (last 30 days)
If there is a program running in VB++ or in C-Sharp or in Java , Is it possible to do any kind of automation with them, using M-scripts ?
If there is a GUI in c-Sharp with buttons , can I get its handle ( as we get of MATLAB GUI) and at a regular interval make that button toggle ( ON/OFF) ?
Is MATLAB scripting feasible enough ?

Answers (2)

David Sanchez
David Sanchez on 30 Aug 2013
Generally speaking, it is NOT always possible. But it all depends on the way the other interface was programmed.

Jan
Jan on 30 Aug 2013
This would be much easier in C# directly...
You can let the java robot move the mouse and click it programmatically. But this is not convenient and the user might be annoyed by loosing control over the mouse.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!