how to implement "option+command+h" in App Designer?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (1)
Oliver Jaehrig
am 27 Mär. 2025
1 Stimme
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.
1 Kommentar
Harald von der Osten
am 28 Mär. 2025
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!