필터 지우기
필터 지우기

Store keys pressed

조회 수: 1 (최근 30일)
Jared
Jared 2011년 11월 18일
Hi,
Im trying to store all the keys pressed in a vector to export to excel. My question is how to create a loop which stores all keys pressed until say ESC key is pressed and then end the loop.
Also, is it possible to record where the keys were pressed? For example if I am running the MATLAB code and I click into a word document and type something there, can I verify and record that it was typed into MS Word?
Thanks!

채택된 답변

Walter Roberson
Walter Roberson 2011년 11월 18일
If this can be done at all, it would be through the Java Robot class.
I would not expect it to be possible, though, as it would then be too easy for a user program to capture passwords intended for a different program.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Desktop에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by