Mouse And Keyboard Macro Recorder v4.5

Post your working scripts, libraries and tools
feiyue
Posts: 53
Joined: 08 Aug 2014, 04:08

Re: Mouse And Keyboard Macro Recorder v3.5

07 Aug 2017, 22:09

SpeedMaster wrote:The unofficial version is only experimental but I hope that the find text tool will be also incorporated in the official version. :thumbup:

I know, for advanced users, image search is a very important function,
but the number of FindText() code is larger, if integrated in this script is too big,
so in the update to v3.5, I have added a simplified version of the FindText(),
because it is simplified, the ImageSearch() function does not support fault-tolerant.
I think it is enough if you use it on only one computer. :xmas:
feiyue
Posts: 53
Joined: 08 Aug 2014, 04:08

Re: Mouse And Keyboard Macro Recorder v3.6

15 Aug 2017, 08:32

I updated the script to v4.0, Added some features:
Wait for the window, wait for the mouse cursor type, wait for the A_CaretX/Y,
wait for the color, wait for the image, wait for change, etc.
feiyue
Posts: 53
Joined: 08 Aug 2014, 04:08

Re: Mouse And Keyboard Macro Recorder v4.0

16 Aug 2017, 14:38

In the beginning, I posted it as a simple tool for novices,
Because the function is too simple, I do not use it myself.

When I'm trying to use it to do a full automatic web page operation,
I found out that more features needed to be added.
So I made extensive improvements for writing complex automated scripts. :superhappy:

However, because my English is not good enough, very little introduction,
So if you want to use it, you need to understand the code first. :xmas:
RoyBlumenthal

Re: Mouse And Keyboard Macro Recorder v4.2

23 Aug 2017, 09:12

Thank you so much, Sancarn! Much appreciated!
User avatar
SpeedMaster
Posts: 78
Joined: 12 Nov 2016, 16:09

Re: Mouse And Keyboard Macro Recorder v4.5

27 Aug 2017, 17:51

feiyue wrote:I have added a simplified version of the FindText()

Hi,
I tested the code it works fine for mouse and keyboard recording :thumbup:
but I have a hard time understanding how to use Wait image function. Does it works like findtext() ?
findtext() function has a capture interface and i don't see any capture interface.... :think:

By the way thanks a lot for the "Hide" button. It's not that we always need to record a macro... ;)
feiyue
Posts: 53
Joined: 08 Aug 2014, 04:08

Re: Mouse And Keyboard Macro Recorder v4.5

27 Aug 2017, 22:50

SpeedMaster wrote: but I have a hard time understanding how to use Wait image function. Does it works like findtext() ?
findtext() function has a capture interface and i don't see any capture interface.... :think:

@SpeedMaster, Please refer to the following usage:

1. In the process of recording, if you want to insert the Wait image code,
You can move the mouse to the target position,
Then hold down the Ctrl key (Don't release),
Then move the mouse to another location,
Then release the Ctrl key.
(At this point, the color and image of the target position
are captured first, and then the Ctrl menu is displayed)
You can move the mouse to the “Add Wait Pic” Button,
Then press the Ctrl key (and release),
OK, you have inserted the Wait image code.

2. When the Gui window has been displayed,
If you click the line in the edit box, containing the Wait image code,
The small edit box above shows the current image to search for,
There are buttons on the left of the small edit box to cut the edges of the image,
To make the image more consistent with the search requirements.
User avatar
SpeedMaster
Posts: 78
Joined: 12 Nov 2016, 16:09

Re: Mouse And Keyboard Macro Recorder v4.5

28 Aug 2017, 08:30

Thank you for your explanation. :thumbup:
I did not know how to show the hidden menu. :?

Suggestion: add this line in the help section:
"4. During the recording process, you can press the Ctrl key..."
CAH9t
Posts: 28
Joined: 15 Jul 2017, 11:12
Location: Land

Re: Mouse And Keyboard Macro Recorder v4.5

10 Sep 2017, 11:13

Hi, feiyue . Long time no see.
Could you get back to 4.1 version with automatic conversion after setting image origin and hopefully with window relative checkbox, please. First of all, I don't absolutely see any usefulness in screen relative coordinates so it's very counter productive to convert them each time from my point of view. Secondly, manual Conversion may be a bit glitchy (buggy): for example try to convert coordinates with image origin then with window origin then again with image origin - in my case click coordinates with image origin got messed up calculations.

Let me be honest with you, I don't like screen coordinates and manual conversion by default at all. I appreciate the effort and I know you mean well (I suppose you're a big screen-relative fan :D ). But could you get back to the checkbox view ( gui with checkboxes) so we would have a choice :).
1st checkbox. Automatic window relative coordinates.
2nd checkbox. Automatic conversion when image origin (or maybe other origin) is set. And some tool to cancel the current automatic image origin, please.
It was that way in version 4.1 and I thought it was optimal.
3rd. Almost forgot. Could you add in your useful ctrl-menu imageSearch+Click ( or maybe you will call it quick imageSearch+Click, no matter) ? I've tested your recorder and it was frequently needed option (but I had to use the combo of image origin + click + switching back to window relative)

Take no offense, It's just for the best of "Mouse And Keyboard Macro Recorder". Best regards.

Return to “Scripts and Functions”

Who is online

Users browsing this forum: No registered users and 23 guests