====== Find Image on Screen Action ======
The //Find Image on Screen// action finds a specified image on the screen in a specified area and stores the image location and fuzziness (left,top,width,height,fuz
screen, or the current mouse location, or a found image on the screen.
===== Examples =====
Simple Exa... left, bottom right).
*screen's center.
*found image's corner (top left, top right, bottom left, bottom right).
*found image's center.
**To get the relative distance** (offs... //Restore Mouse Location//.
===== Click at Found Image =====
You can also click relative to a [[:Found
====== Modify an Image Action ======
(Options in _Resize an Image_ Action)
There are a variety of actions to modify an image either in the [[:Clipboards#System_Clipboard| Sys... [:Clipboards|Named Clipboard]].
{{:action:resize-image-action.png?nolink|}}
** Choose One of the Follow
====== Stream Deck Set Image ======
The //Stream Deck Set Image// action (v9.0+) allows you to set a [[/Stream Deck]] button to a specified image.
{{ stream-deck-set-image.png?nolink&503x144 | Stream Deck Set Image }}
You specify the Button ID of t
The *Composite onto Image* action allows you to add images, styled text or text tokens onto an existing image which is on the system clipboard or a named clipb... date or copyright notice.
{{:action:compositeontoimage.png|}}
Select the image from the //On image// pop-up.
Select whether to add text or a clipboard onto t
====== OCR Screen or Image ======
The //OCR Image// action allows you to extract the text from an image using OCR (Optical Character Recognition) (specifi... ract_(software)|Tesseract OCR library]]).
{{ ocr-image.png?nolink&503x171 | OCR Image }}
The source ima
====== Set Clipboard to Image ======
The Set Clipboard to Image action allows you to set the System Clipboard, Trigger Clipboard or a Named Clipboard to a specified image.
{{ setclipboardtoimage.png?nolink&504x135 | Set Clipboard to Image }}
You can set the image in the ac
====== Set Desktop Image ======
The //Set Desktop Image// action (v9.0+) allows you to set the desktop to a specified image file.
{{ set-desktop-image.png?nolink&503x140 | Set Desktop Image }}
The image must remain in the fi
The Create New Image action allows you to create an image of specified dimensions and color and save it to the system clipboard or a named clipboard.
{{:action:createnewimage.png|}}
Select the color by clicking on the color... e finished.
Then set the width and height of the image in pixels, either by entering them nasally or usi
The Flip Image and Rotate Image actions allow you to flip or rotate an image on the system clipboard or a named clipboard.
{{:action:rotateimage.png|}}
Select from the pop-up to:
*Flip horiz
The Draw Shape onto Image action allows you to draw a line, rectangle or oval onto an image on the system clipboard or a named clipboard.
{{:action:drawshapeontoimage.png|}}
Select the shape from the //Draw a// pop-... as relevant.
Select the clipboard from the //on image// pop-up.
Enter numbers in pixels or use the ste
lipboard or a file, the downloaded data can be an image.
===== See Also =====
==== Actions ====
* [[ac... ://forum.keyboardmaestro.com/t/how-to-download-an-image-from-an-url-and-then-copy-to-clipboard/7578|How to download an image from an URL and then copy to clipboard?]]
The Get Image Size action captures one of several parameters of image dimension to a variable.
{{:action:getimagesize.... Select which dimensions to capture from the //Get image// pop-up:
*pixel size.
*pixel width.
*pixe
at is chosen (for example, you cannot use *has an image* with a calculation).
The _Conditions_ are defin... xt |Clipboard does not have any text items.|
|has image |Clipboard has one or more images.|
|does not have image |Clipboard does not have any images.|
|is |is exa