how to implement "option+command+h" in App Designer?
이전 댓글 표시
I would like to hide all other windows on the desktop (Mac) in App Designer when starting the programme. How do I programme the command sequence ‘option+command+h’? Thank you very much.
채택된 답변
추가 답변 (1개)
Oliver Jaehrig
2025년 3월 27일
1 개 추천
I believe you need to find some code which is equivalent to Command + H which can be called in a system call from MATLAB. Then you can input this into the StartupFcn callback of your app.
Maybe other helpful discussion:
You could also try to use a Java robot to simulate key presses.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!