login about faq


Hey Lockergnome,

I just got my new Trust Laser Gaming Mouse GXT 34 in today and it doesn't let me add a mouse click macro or a toggle-able macro. Right now I've got it setup to fire a ctrl+up arrow and ctrl+down arrow to switch between applications and the other two buttons to ctrl+shift+r and ctrl+shift+t which I'd like to launch an auto clicker via a AppleScript. I've got a simple application that does either a left or right click for me already but I have no idea how to listen for keyboard input..

This is my current script:

set mouseToolsPath to (path to home folder as text) & "MouseTools"
delay 2
repeat 100 times
    delay 0.005 -- 3 seconds after starting the script to move the mouse where you want
    do shell script quoted form of POSIX path of mouseToolsPath & " -leftClick"
end repeat

This is the application that is being launched

It waits 2 seconds then presses left click 100 times with a 0.005 second waiting time per click (200 clicks per second). How can I modify this script to make it react to ctrl+shift+r and then launch it until the key combo is released?

Or do any of you know a easier auto clicker for Mac that listens to a key combo and run at at least 200 click per second?

Edit:
Oh and I forgot to mention that I want both left and right click on the auto clicker but that doesn't seem like a big problem to any autoclicker.

asked Aug 07 '12 at 08:56

nitrocrime's gravatar image

nitrocrime
3.6k6277125

edited Aug 07 '12 at 09:03

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported


Join Us in the Chat Room

Tags:

×1,970
×164
×34
×2
×1

Asked: Aug 07 '12 at 08:56

Seen: 343 times

Last updated: Aug 07 '12 at 09:03