User Tools

Site Tools


action:Set_Action_Delay

Table of Contents

The Set/Reset Action Delay action lets you set the various arbitrary delays used in Keyboard Maestro, either for this macro, or (semi)permanently for all macros.

You can set the following delays:

  • Between Actions Delay (0.0 seconds)
  • Copy/Paste Delay (0.2 seconds)
  • Drag Delay (0.1 seconds + double click interval)
  • Simulate Normal Keystroke Delay (0.001 seconds)
  • Simulate Command Keystroke Delay (0.15 seconds)
  • Simulate Modifiers Delay (0.15 seconds)
  • Simulate Dead Key Delay (0.03 seconds)

The Between Actions Delay is a really big club, and is generally a bad idea to adjust. Most actions have no need for a delay between them, and a few actions (typically before clicks for example, or after an action changes window focus or that sort of thing) require very large delays (a significant fraction of a second). You should add these required large delays using Pause or better yet, Pause Until actions. If you set the Between Actions Delay to a large value your macro is going to run unnecessarily slowly.

The Copy/Paste Delay allows time for the target application to respond to a Command-C and set the clipboard, or to respond to a Command-V and read the clipboard before continuing on to the next action. If you frequently encounter issues where an old clipboard is pasted or read then you might need to adjust this.

The Drag Delay is used after a click and before dragging, as well as after the dragging and before releasing the mouse button.

The Simulate Keystroke Delays are the time that Keyboard Maestro waits after simulating a keystroke before continuing on to the next action. If you wanted to make it appear that you were typing slowly, you could use the Simulate Normal Keystroke Delay to set an appreciable delay to occur between each keystroke, and have that applicable for this macro only.

See Also


Actions

Forum

action/Set_Action_Delay.txt · Last modified: 2017/03/05 22:11 by peternlewis