Hack Forums
[C#] Click on button on another application from my application - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] Click on button on another application from my application (/showthread.php?tid=4807125)



Click on button on another application from my application - RedBull™ - May 4, 2015

Hello HF!

I have a program whose window name is = " Login " it has 2 text box , one is USERID and another is Password , one button with name Submit .

I want to create a program which will only click on Submit button nothing else .

Basically i just want a button from my application to communicate with button on another application .
Any help will be appreciated . 🤝


* - debug - May 4, 2015

Something like this?
https://www.youtube.com/watch?v=gEgxZrXPnzc


* - Vicinity - May 7, 2015

You could do it through injection maybe OR if the application has a web based interface, you can do it through getelementbyid in a webbrowser.


* - Exussit - May 8, 2015

A dirty way of doing this without injection would be to bind a socket on each application and stream a string when you click the button on the first application, and when it de-serializes in the other application, if the string matches given parameters, then call the button.click convention to click the button in the second app :)