Crop images

I'm trying to crop images but I can't really get any output. I don't get an error message either. I read the documentation here but there's isn't really much info on the subject.

This is the macro I've built so far but nothing happens when I try it.crop images.kmmacros (3.2 KB)

You can only use KM to crop images that are in either the system clipboard or a KM named clipboard, so you need to make sure that the images in the folder you specify are read to a clipboard first. If you're working with multiple images, you should also make sure you don't write the same image name every time, or older images will keep getting overwritten by new ones:

crop images 1.1.kmmacros (3.1 KB)
11 AM

thanks that did it. i really appreciate that.

1 Like

Actually I spoke too soon. It’s putting the pages in the wrong order. It put page 2 at location 12, page 3 at location 23, page 5 at location 25 and page 6 at location 26.

I tried starting i at 1,111 and that did not work. So the problem does not have to do with the ordering system of the numbers.

How are the files ordered in the slash3 folder? If alphabetical order isn't getting the right pages, you could try other options like date created or date added.


thanks, that did it.