terrypin Posted January 30, 2007 Report Share Posted January 30, 2007 I've written a simple macro that saves a JPG file after editing it in IrfanView. It keeps the same name permanently. So directly before the save IrfanView displays the usual question "Replace file ...". At present in my ME macro I'm using a Pause: Complex to wait while I answer Yes to that, and Resume. But is there a more elegant way please? I'd like to assume the Yes, and avoid manual intervention. -- Terry, West Sussex, UK Quote Link to comment Share on other sites More sharing options...
jason Posted January 30, 2007 Report Share Posted January 30, 2007 The simplest answer would be to put in a 1 or 2 second delay to cause Macro Express wait for the Replace File prompt to come up and then use a Text Type command to press enter. You could also use a Wait For Window Title command and then have it press the Enter key through the Text Type command. Quote Link to comment Share on other sites More sharing options...
terrypin Posted January 30, 2007 Author Report Share Posted January 30, 2007 Thanks Jason, I'll try both of those. BTW, did you see my post yesterday, in 'Text Variables', asking you how to paste from Scripting Editor please? -- Terry, West Sussex, UK Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.