MATLAB code to read status update message appearing in the web page (Internet Explorer in MATLAB GUI)

4 visualizaciones (últimos 30 días)
Hello,
In a GUI, I have an HTML viewer in the MATLAB figure using the following command actxcontrol('Shell.Explorer.2',[5, 150, 5000, 575], gcf); I call specific web pages based on my requirements and that part is working very fine.
The user interaction with this web page produces status update message on the web page which I would like to read.How do we read only those status update messages that appears on the screen? I know the x, y position of the screen where the message appears.
Please help. Thank you
Madhu Kodappully
  1 comentario
Madhu Kodappully
Madhu Kodappully el 19 de Ag. de 2015
Its is a game web page that I display on the MATLAB GUI. Based on the mouse click performed on the page, the web page provides a status update message as "Completed" or "Not completed" If the message is "completed" (it happens only if the click is accurately done) I would like to show the next web page, otherwise wait for the right mouse click until 60 seconds elapse and show the next web page.

Iniciar sesión para comentar.

Respuesta aceptada

Madhu Kodappully
Madhu Kodappully el 20 de Ag. de 2015
Use event handlers to the actxcontrol object. rewrite the code statement in the MATLAB command window as
h = actxcontrol('Shell.Explorer.2',[5, 150, 5000, 575], gcf);
then type h.events to know about the events associated with this object
Then register appropriate event and write a function for that event.
More details are available in the following link http://in.mathworks.com/help/matlab/matlab_external/using-events.html
Please reply if anybody has tried writing eventhandle function for the Shell.Explorer.2

Más respuestas (0)

Categorías

Más información sobre App Building en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by