Jump to content
Macro Express Forums

Saving A File?


terrypin

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...