Post by Steve on Jul 17, 2021 7:56:10 GMT
What has been added to the update?
New Features:
1. New Action - PIXEL CAPTURE
Capture a pixel RBG value at a given mouse position and then save this variable for use later on.
PIXEL CAPTURE can be used to compliment the PIXEL COLOR condition.
Shout out to WWO for the improvement suggestion.
Shout out to WWO for the improvement suggestion.
1 | RUN ACTION | PIXEL CAPTURE | At Location [X:511 Y:511]::To variable PIXEL
* | PIXEL COLOR condition check
2 | IF | PIXEL COLOR | %PIXEL%::At Location [X:511 Y:511] | IS THE SAME | MESSAGE PROMPT | %PIXEL% is the same::SAME::0::Information
2. New Action - MOUSE TO IMAGE
Detect an image from a file on the screen and optionally move the mouse to the location.
MOUSE TO IMAGE optionally can store the result of the capture location to variables for later use.
More info at www.turnssoft.com/conditions.html#mousetoimage
* | Simple command syntax
1 | RUN ACTION | MOUSE TO IMAGE | image path c:\images\player.bmp
* | Command with custom image detection location and all optional parameters
2 | RUN ACTION | MOUSE TO IMAGE | image path c:\images\player.bmp::on primary::at 0 975 100 100::match quick::move mouse yes::offset +32 -31::save to vars xx yy::player image find
3. New IF Condition - DETECT IMAGE
Detect an image from a file on the screen and optionally move the mouse to the location.
DETECT IMAGE operates the same as MOUSE TO IMAGE and excepts the same syntax.
DETECT IMAGE accepts the 'IMAGE FOUND' and 'IMAGE NOT FOUND' conditional operators.
Detect an image from a file on the screen and optionally move the mouse to the location.
DETECT IMAGE operates the same as MOUSE TO IMAGE and excepts the same syntax.
DETECT IMAGE accepts the 'IMAGE FOUND' and 'IMAGE NOT FOUND' conditional operators.
More info at www.turnssoft.com/conditions.html#detectimage
4. New Action - MOUSE MOVEMENT
Playback a series of mouse movements.
More info at www.turnssoft.com/conditions.html#mousemovement
1 | IF | DETECT IMAGE | image path C:\images\player.bmp::match quick::move mouse no | IMAGE FOUND | CONTINUE
2 | IF | DETECT IMAGE | image path C:\images\header.bmp::match quick::move mouse no | IMAGE NOT FOUND | CONTINUE
4. New Action - MOUSE MOVEMENT
Playback a series of mouse movements.
More info at www.turnssoft.com/conditions.html#mousemovement
1 | RUN ACTION | MOUSE MOVEMENT | 300-350:10, 375-400:100, 425-450:10,475-500:100,525-550:10,575-600:10,625-650:10,675-700:100,300-350:10, 375-400:10
5. New Action - MOUSE CLICK
Perform mouse clicks at a set mouse position.
More info at www.turnssoft.com/conditions.html#mouseclick
Perform mouse clicks at a set mouse position.
More info at www.turnssoft.com/conditions.html#mouseclick
* | Basic Left, Right, and Middle button clicks
1 | RUN ACTION | MOUSE CLICK | Left Click at 900 470
2 | RUN ACTION | MOUSE CLICK | Reft Click at 900 470
3 | RUN ACTION | MOUSE CLICK | Middle Click at 900 470
* | Left click 100 times with a 50 ms delay
4 | RUN ACTION | MOUSE CLICK | Left Click at 900 470 100 times with 50 ms delay
6. New Action - Define Pixel Range Variable
A pixel range variable holds a captured pixel range bitmap.
Pixel range variables can be used as input to PIXEL RANGE conditions.
More info at The Pixel Variable condition evaluates the difference between two defined Pixel Range variables.
This is useful to detect pixel range changes on screen.
More info at www.turnssoft.com/conditions.html#definepixelrangevariable
7. New Action - Pixel Range Save
Pixel range save will save the bitmap from a declared Pixel Range variable to a file.
More info at www.turnssoft.com/conditions.html#pixelrangesave
8. New IF Condition - Pixel Variable
The Pixel Variable condition evaluates the difference between two defined Pixel Range variables.
This is useful to detect pixel range changes on screen.
More info at www.turnssoft.com/conditions.html#pixelvariable
9. New DEBUG Action - Step Playback
A pixel range variable holds a captured pixel range bitmap.
Pixel range variables can be used as input to PIXEL RANGE conditions.
More info at The Pixel Variable condition evaluates the difference between two defined Pixel Range variables.
This is useful to detect pixel range changes on screen.
More info at www.turnssoft.com/conditions.html#definepixelrangevariable
* | Define the variable 'PIXEL_RANGE' at the set screen location
1 | RUN ACTION | DEFINE PIXEL RANGE VARIABLE | %PIXEL_RANGE%::At Location [X:22 Y:122 W:34 H:43]
* | Define the variable 'BANNER_HEADER', save the image to file, and include a command comment
2 | RUN ACTION | DEFINE PIXEL RANGE VARIABLE | %PIXEL_RANGE%::At Location [X:200 Y:150 W:50 H:100]::save image to c:\macro\banner.bmp::Banner grab
7. New Action - Pixel Range Save
Pixel range save will save the bitmap from a declared Pixel Range variable to a file.
More info at www.turnssoft.com/conditions.html#pixelrangesave
1 | RUN ACTION | PIXEL RANGE SAVE | From Variable %PIXEL_RANGE%::C:\Macro\pixel_range.bmp
8. New IF Condition - Pixel Variable
The Pixel Variable condition evaluates the difference between two defined Pixel Range variables.
This is useful to detect pixel range changes on screen.
More info at www.turnssoft.com/conditions.html#pixelvariable
1 | IF | PIXEL VARIABLE | %BANNER_ORIGINAL% | MATCHES | %BANNER_NEW% | MESSAGE PROMPT | Pixel Range Match!
9. New DEBUG Action - Step Playback
This debug feature can be toggled on and off during playback and will step through the macro one line at a time.
After each line is executed the macro will 'pause'. This operates as though the macro pause button is pressed every line.
Shout out to mrclicker for the prompt.
More info at www.turnssoft.com/conditions.html#debug
After each line is executed the macro will 'pause'. This operates as though the macro pause button is pressed every line.
Shout out to mrclicker for the prompt.
More info at www.turnssoft.com/conditions.html#debug
1 | RUN ACTION | MESSAGE PROMPT | Start
2 | RUN ACTION | DEBUG | Step Playback
3 | RUN ACTION | PLAY SYSTEM SOUND | Question::SYNC
4 | IF | FILE | C:\pics\mmm.png | EXIST | SET TITLE | exists
5 | RUN ACTION | DEBUG | Step Playback
6 | RUN ACTION | MESSAGE PROMPT | End
Improvements:
1. Variables for X, Y, and Time values can be populated in the 'Edit Entry' dialog when editing an entry.
2. Minor improvements to Pixel Range dialog GUI
3. MiniMouseMacro.exe is now code signed. Special thanks to tylerciggy for the bump.
4. "Enable Variable Saves" unlocked for the standard version. This setting is enabled by default on the first system run. Thanks trey for the nudge.
5. New setting added under 'Options - Program Options - Stop Playback on Error'. When enabled if an error occurs during playback the macro will stop immediately.
6. New setting added under 'Options - Program Options - Load Last Saved Macro'. When enabled the last saved macro will load into the macro list at program startup.
7. PIXEL COLOR condition now can evaluate pixel RGB variations with '<', and '>'.
Special thanks to @mksg for the idea.
More info at www.turnssoft.com/conditions.html#pixelcolor
1 | IF | PIXEL COLOR | Color [R<255, G<255, B<255]::At Location [X:400 Y:300] | IS THE SAME | MESSAGE PROMPT | The pixel is less than 255 at the location::Pixel Check::0::Information
2 | IF | PIXEL COLOR | Color [R>100, G=50, B<200]::At Location [X:500 Y:400] | IS NOT THE SAME | MESSAGE PROMPT | R LESS 100, G EQL 50, B GTR 200::Pixel Check::0::Information