Is there any way or function that can be used to obtain the expose effect in Mac, when a button is clicked?
I tried searching, but I had no luck, so far.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no API for this. AFAIK the only way to do it is to use
NSWorkspaceto launch either the Exposé app (Mac OS X versions < 10.7) or the Mission Control app (Mac OS X versions >= 10.7).This code uses the
com.apple.exposelauncherbundle ID which is the same for all versions of Mac OS X that ship with Exposé: