26

The clicky noises from my mouse is too loud. I think my boss can hear it. SO please fix my mouse, or provide an alternative way to mine so I can get back to important unicorn work.

closed as off-topic by Laura Apr 4 '14 at 19:03

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "The problem described here can no longer be reproduced. Changes to the system or to the circumstances affecting the asker have rendered it obsolete. If you encounter a similar problem, please post a new question." – Laura
If this question can be reworded to fit the rules in the help center, please edit the question.

  • possible duplicate of [meta.stackexchange.com/questions/227424/… – Bergi Apr 1 '14 at 13:50
  • My solution was to use something like this Now I can mine in silence, and as a bonus, no carpal tunnel. – Gray Apr 1 '14 at 13:50
  • 1
    Please click with your left hand. this should fix the issue. if you are already clicking with left hand then please contact your administrator and also boss if possible. – Mr_Green Apr 1 '14 at 13:51
  • 1
    The clicky noises are not too loud. You (and possibly your boss) are just too old. – Frédéric Hamidi Apr 1 '14 at 13:53
  • 3
    so you usually don't click that much while working?! – m0sa Apr 1 '14 at 13:55
  • 3
    @m0sa APM is a common component of any decent employer's review process. – Gray Apr 1 '14 at 13:57
  • 1
    Simply shriek incoherently about <contentious subject> to mask the click noise. – Alex K Apr 1 '14 at 14:52
  • What you need is autofire mode. – Ilmari Karonen Apr 1 '14 at 18:12
39

If you're on Windows (at least 7, not sure which others have this), go to:

Control Panel 
    Ease of Access
        Ease of Access Center
            Make the mouse easier to use

Turn on Mouse Keys and use the numpad 5 to click. This changes your click-y noises to type-y noises, so your boss will think you are hard at work again.

  • 11
    You are a very diligent worker – David Grinberg Apr 1 '14 at 13:57
  • @Dgrin91 And you a very considerate one, as seen by your willingness to go out of your way to reduce your boss's stress level. – Geobits Apr 1 '14 at 14:02
  • I deserve a raise – David Grinberg Apr 1 '14 at 14:03
  • @Dgrin91 How about a title change instead? – Geobits Apr 1 '14 at 14:03
  • Throw in a company car and we have a deal – David Grinberg Apr 1 '14 at 14:04
  • 8
    How about a sticker of the company on your current car? – Bart Apr 1 '14 at 14:07
  • 2
    For Mac users, System Preferences > Accesibility > Mouse & Trackpad > Enable Mouse Keys – woz Apr 1 '14 at 14:58
  • @Bart I have a current car? – David Grinberg Apr 1 '14 at 20:52
  • 1
    Okay @Dgrin91. Sticker on your forehead while you make vroom vroom noises. Final offer. – Bart Apr 2 '14 at 9:29
10

Have you thought about giving your boss ear plugs?

  • 2
    lol man you crossed the limit.. haha – Mr_Green Apr 1 '14 at 13:58
1

On Linux, you could use xdotool to automate your clicking :)

sleep 5 && while true; do xdotool click 1; done
0

Now you can automine

  using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Runtime.InteropServices;
    namespace WindowsFormsApplication1
    {
        public partial class Form1 : Form
        {

            public Form1()
            {
                InitializeComponent();
            }

            public void mine()
            {
                int COUNTER = 0;
                while (COUNTER < 20)
                {
                    COUNTER++;
                    MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.LeftDown);
                    System.Threading.Thread.Sleep(100);
                    MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.LeftUp);
                    System.Threading.Thread.Sleep(100);
                    MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.LeftDown);
                    System.Threading.Thread.Sleep(100);
                    MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.LeftUp);
                }
            }

            private void button1_Click(object sender, EventArgs e)
            {
                    mine();
            }




        }
        public class MouseOperations
        {
            [Flags]
            public enum MouseEventFlags
            {
                LeftDown = 0x00000002,
                LeftUp = 0x00000004,
                MiddleDown = 0x00000020,
                MiddleUp = 0x00000040,
                Move = 0x00000001,
                Absolute = 0x00008000,
                RightDown = 0x00000008,
                RightUp = 0x00000010
            }

            [DllImport("user32.dll", EntryPoint = "SetCursorPos")]
            [return: MarshalAs(UnmanagedType.Bool)]
            private static extern bool SetCursorPos(int X, int Y);

            [DllImport("user32.dll")]
            [return: MarshalAs(UnmanagedType.Bool)]
            private static extern bool GetCursorPos(out MousePoint lpMousePoint);

            [DllImport("user32.dll")]
            private static extern void mouse_event(int dwFlags, int dx, int dy, int dwData, int dwExtraInfo);

            public static void SetCursorPosition(int X, int Y)
            {
                SetCursorPos(X, Y);
            }

            public static void SetCursorPosition(MousePoint point)
            {
                SetCursorPos(point.X, point.Y);
            }

            public static MousePoint GetCursorPosition()
            {
                MousePoint currentMousePoint;
                var gotPoint = GetCursorPos(out currentMousePoint);
                if (!gotPoint) { currentMousePoint = new MousePoint(0, 0); }
                return currentMousePoint;
            }

            public static void MouseEvent(MouseEventFlags value)
            {
                MousePoint position = GetCursorPosition();

                mouse_event
                    ((int)value,
                     position.X,
                     position.Y,
                     0,
                     0)
                    ;
            }

            [StructLayout(LayoutKind.Sequential)]
            public struct MousePoint
            {
                public int X;
                public int Y;

                public MousePoint(int x, int y)
                {
                    X = x;
                    Y = y;
                }

            }

        }
    }

Not the answer you're looking for? Browse other questions tagged .