Can Applescript do Mouse Clicks?

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

  1. macrumors newbie

    Joined:
    Jan 18, 2008
    #1
    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.
    Thanks
     
  2. macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #2
    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.

    -Lee
     

Share This Page