Different hotkeys for move mouse and send text

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
loupis45
Newbie
Posts: 1
Joined: Thu Jul 18, 2019 10:29 am

Different hotkeys for move mouse and send text

Post by loupis45 » Thu Jul 18, 2019 10:43 am

Hi
I'm not familiar with Macro Scheduler, but i try to help a friend who wants to send different text based on hotkeys to the same images. An example from what he wants is this:

If Press Shift+F1 move mouse to Image_1 and send Text_1
If Press Shift+F2 move mouse to Image_1 and send Text_2
If Press Shift+F3 move mouse to Image_1 and send Text_3
etc.
Is there a simple way to do this?
Thanks in advance and sorry that i don't have enough knowledge!

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Different hotkeys for move mouse and send text

Post by Dorian (MJT support) » Sat Jul 20, 2019 9:26 am

If there's no discernible difference other than the text he's sending, then you could either :

1. Have a different script for each text version, where the only thing that changes if the text that's sent, and the hotkey.

or

2. If the scenario allows, just have one script which asks the user which text he wants to send, maybe by using PopupMenu or even Input.

Either way, start with the Image Recognition Wizard to identify the image. I'm not too clear on exactly what you mean by sending text to an image, but the Wizard will give you a variety of options.

So the structure for the second option would be something along the lines of :

1. Image recognition to find the position or an image, or recognize an image exists.
2. Ask which text we want to send (we'll do this now in case it removes focus from step 3)
3. Some kind of action? Moving the mouse, clicking on the image, or somewhere else?
4. Sending the text we chose in step 2
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts