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

2 vues (au cours des 30 derniers jours)
Ajay Pherwani
Ajay Pherwani le 30 Août 2013
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 ?

Réponses (2)

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

Jan
Jan le 30 Août 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.

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by