Can't Repeat Macros Without A Manual Mouse Movement First - Help!

Thanks for reading! I recently bought the UHK 80 and love it! I need help from those who have more experience. It’s hard to concisely explain my issue. I want to provide as much information about it so anyone reading this can have a clear picture. Read on for more, or jump to categories below.

FOR CONTEXT:

I am building macros to automate menial, repetitive work tasks where I frequently bounce back and forth between 3-4 different programs in about 15 seconds or less. I do phone sales, and much of my workflow is leaving a voicemail and sending them a follow up email. I do this anywhere from 150-200+ times each day. Here is a quick overview of the generic workflow of the macros I have successfully built so far:

  • Phone system makes an outbound call automatically. (Leads are warm)
  • Phone system automatically copies the user’s account number to clipboard
  • Cursor has been hovering over the text field in our customer database, so I quickly paste the account and search
  • Highlight and copy lead’s email address from database, and highlight select the name.
  • Alt + Tab to email system
  • Compile email by sets of instructions for mouse movements, clicks, tab spamming, and filling in address and name.
  • Sends the email.

This process frees me up to leave the voicemail message (which I do vocally each time. We do not have the option for a pre-recorded message), and then manually end the call, disposition call type, and submit with far less menial work already. The phone system, customer database, and email system are all 3 separate programs. I have been bemoaning the inefficiency for the entirety of my 4 years at the company. Would do almost anything to consolidate into one master suite, but the decision is not mine and I digress.

The PROBLEM:

For some reason, my macros can not be repeated immediately and execute correctly! It sometimes seems that the cursor movements in the instruction list of the macros will travel different pixel distances than how they did on the first cycle. The only fix I have noticed is that if I manually physically jiggle the mouse then it allows the next iteration of the macro to execute correctly. I find this so confusing!

POTENTIALLY USEFUL OBSERVATIONS:

  • Because I use so many programs, I use the hotkey “windows+arrow keys” to quickly set my program views to split screen my monitors. I hate having too many tabs open to various things at once. However, if I use that shortcut to set my phone system view, it will resize itself as soon as a call comes in. If I use the mouse to place the window and size it manually then it will stay put. It makes me wonder if there is something about my phone program that is interfering with the macros somehow but I don’t know enough to find out.
  • Another roadblock with my phone program is that using tab to navigate and select call dispositions is off the table. I can alt+tab into the window, and tab to a search function, but ultimately I still have to use a mouse click to actually select the disposition and submit. Makes no sense.
    *A weird thing I notice with my customer database software: Similarly to the previous point on my phone system, I can alt+tab to the search bar and enter the account number. But to collect the email and name information I can only use the mouse to select.

CONCLUSION:

Massive thank you to anyone who read this far! I love my UHK 80 and hope to be active in the community to learn great things from all of you.

Hi!

Regarding mouse traveling different distances: it is normal that the operating system processes the mouse input before outputing it onto screen, while making the assumption that it is a human that controls the mouse. One reason for processing it may be applying acceleration tweaks, another may be suppressing bugs, such as sudden jumps, of the device in question.

I don’t think there is any bug in the uhk regarding this - after all, it only takes the number given and copies it into the usb report…

Tips:

  • try to do as much as possible with keyboard, navigating between form fields using tab and arrows instead of mouse
  • use some software to manage windows, so that you can jump to a specific window using a specific shortcut instead of having to deal with ever changing history of alt tab
  • you say you use uhk macros to compile the emails if i understand correctly. Uhk isn’t really suited for this task… There are so called snippet engines, usually in a form of an extension for a text editor, that may help you with this. (Personally I use neovim with UltiSnips and a custom python layer built on top of ultisnips that allows me to retain context between snippet invocations, and to use named fields.)
1 Like