Jump to content
Macro Express Forums

Used Capture Macro. Now want to delete all delay commands.

Recommended Posts

You can semi-automate the process of deleting the delay commands, but you may not like the result. Your script may become unreliable.


But if you want to proceed, here is one way to do it:


Create a new Macro Express macro. Let's chose F12 as a hotkey activation.


The script consists of three lines, which you can paste into the Scripting Editor.


Text Type (Simulate Keystrokes): <F3>
Delay: 100 milliseconds
Text Type (Simulate Keystrokes): <DELETE>


Save the macro, and open the script that contains all of the Delays you want to get rid of.


Press Ctrl + F to initiate a search. Type "Delay" as the search term. Click "Find Next." Press Esc to cancel the search.


At this point, you could press F3 to find for the next instance of "Delay." But instead, we will use the macro created above, which is activated by pressing F12.


Press and release F12 repeatedly. Each time you do, another Delay command will disappear.

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.

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.

  • Create New...