Can Applescript do Mouse Clicks?

Discussion in 'Mac Programming' started by V Silly, Mar 28, 2008.

  1. V Silly macrumors newbie

    Jan 18, 2008
    Hi all
    I have been trying to find out how to make an Applescript execute a click, doubleclick, and click-lock. If anyone can tell me whether this is do-able I would very much appreciate it.

    I would like to execute mouse clicks with my voice using MacSpeech Dictate. Dictate uses Applescripts.

    Any info to point me in the right direction would be much appreciated.
  2. lee1210 macrumors 68040


    Jan 10, 2005
    Dallas, TX
    The "System Events" library contains a click term. Open Script Editor, choose "Window"->"Library", scroll down and double click "System Events", and you can search get the documentation.

    I have not used this, but it seems like it could work for you.


Share This Page