How to use MoveMouseToImage and ClickImage with Images

Sorry, I’m not good at English. I hope your understanding.

Step 1. Download this module and put it in the following path

Step 2. Use as follows

  • Method 1. FileToImage


    ○ Path (input) : Image file path (string)
    ○ Image (output) : Image object (Image)
    ○ Caution : You can use image object only if you make a list of image object.

  • Method 2. FileToImages


    ○ Path (input) : Image file path (string)
    ○ Images (output) : Just 1 image object list (List<Image>)

  • Method 3. FilesToImages


    ○ Path (input) : Image file path list (List<string>)
    ○ Images (output) : Image object list (List<Image>)

+. Use this if you want to test quickly.

+. Module Source

Comments are welcome. Thank you for reading.

Tag :
MouseAndKeyboard
MoveMouseToImage / ClickImage / MoveMouseToImageOfSubregion / ClickImageOfSubregion
Argument ‘Images’ must be ‘List`1’ / ‘Images’ is not an Image Repository

1 Like

@XaBuiLisK, thank you for your contribution. So far I’m not able to run your test script. I get the following error on Win10:

Failed to check script. Error: Could not load file or assembly 'file:///C:\Program Files\Robin\Custom Modules\XaBuiLisK.Modules.ImageObject.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

On Win7 (for me at least) the module causes the Robin Editor itself to stop working.

Thanks for your help in resolving this!
Regards,
burque505

1 Like
1 Like

@XaBuiLisK, thank you very much, that solved the issue(s)! I ran the test script and it worked quite well. This is a very useful Custom Module, I’m sure others will think the same.

Regards,
burque505

1 Like