GUI automation using a Robot | Undocumented Matlab
Wednesday, September 15th, 2010 Hello there! If you are new here, you might want to subscribe to the RSS feed or email feed for updates on Undocumented Matlab topics. I would like to welcome guest writer Takeshi (Kesh) Ikuma . Kesh has posted several interesting utilities on the Matlab File Exchange, including the award-winning Enhanced Input Dialog Box . Today, Kesh will describe how we can automate GUI actions programmatically. Automating GUI actions, including controlling a mouse and keyboard programmatically, is often useful. This can be used, for example, to demonstrate GUI usage or to perform a recorded macro. Matlab's Handle Graphics interface provides a simple way to manipulate the mouse cursor position, but not to emulate mouse or keyboard clicks. However, we can utilize Java's java.awt.Robot class. This article provides an overview of the Robot class and how it can be used to program mouse movement, button clicks and keyboard strikes. java.awt.Read full article from GUI automation using a Robot | Undocumented Matlab
No comments:
Post a Comment