Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sui.page

macrumors member
Original poster
I'm trying to configure my Logitech mouse so that it runs app expose when I click a button. Currently 'mission control' comes up as a command option but there's no app expose command. Does anyone know the Applescript to activate the app expose function. That way I can select it as an app instead which run when I click the mouse button
 
The easiest way would probably be to use the key binding to activate it. Something like this:

Code:
tell application "System Events" to key code 125 using control down

Here's a list of key codes for doing all kinds of everything with Applescript. Any time you use a modifier key you follow the line above.(For instance copy would be "key code 34 using command down")
MLKlh.png

z8boX.png
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.