hi
i have a program that when i perform right click on a image and click “copy image” (the position of it changed) the image sends to that an some process on it happen so how can i automate that
now i can use !clipboard for text but not on image
i perform right click on a image and click “copy image” (the position of it changed)
Is the image in a website? => Here is what I would use for web automation:
- storeImage | xpath=… (the file is now on the harddrive!)
- XRun | script to copy file to clipboard, e.g. with Powershell and Set-Clipboard
The other option is:
- XClick | xpath=… | #right
- XClick | (image of “Copy image”) or - XClick | ocr = Copy image
If the image is inside an desktop application:
- XClickRelative | (anchor image) | #right
- XClick | (image of “Copy image”) or - XClick | ocr = Copy image