Image Resizing Macro

Hey Tom

I really appreciate all your help but this is getting way too complicated. All I want is a simple way to convert any image with a size over 580px wide to 580px wide. If it makes things simpler, we can remove the ImageOptim element.

Previously I’d have dropped the image on a Photoshop droplet I have on my desktop that automates the task. I created a macro that did this, but for some reason my computer’s CPU went through the roof after I ran it (something to do with pausing untill Photoshop had completed I think).

Is there a simpler way to accomplish this?