Apple mouse middle button script

Hello all,


How can I configure an Apple (Mighty) Mouse to run a script when a particular mouse button is pressed? Rather than running the script, it just opens the script in the Script Editor.


My script is something like this:

tell application "System Events" key code 123 using {command down} end

intended simply to browse back in Safari and Chrome when pressing the middle mouse button.

Many thanks

User uploaded file

MBP13 2.7GHz 8GB 512SSD, Mac OS X (10.6.7)

Posted on Feb 13, 2018 7:11 AM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Apple mouse middle button script

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.