Calling App Expose In Lion
问题 Is there any way to call App Expose in Lion programmatically, for example on an event tap, etc? 回答1: If you don't mind using a TOTALLY UNDOCUMENTED API, which might change at any point without notice: void CoreDockSendNotification(CFStringRef, void *); (...) CoreDockSendNotification(@"com.apple.expose.front.awake", NULL); Other known arguments are @"com.apple.expose.awake" and @"com.apple.dashboard.awake" , which activate Mission Control and Dashboard, respectively. @"com.apple.showdesktop