How Can I add delay in macros?

Answered

Hello.

I want to use macro in pycharm

My Macro is below:

    <macro name="kk">
      <action id="OpenFile" />
      <typing text-keycode="68:0;59:1;92:0;80:0;89:0;84:0;72:0;79:0;78:0;92:0;65:0;46:0;80:0;89:0">d:\python\a.py</typing>
      <action id="EditorLineStartWithSelection" />
      <action id="EditorCopy" />
      <action id="EditorLineEnd" />
      <shortuct text="ENTER" />
    </macro>

 

I want to add delay after OpenFile.

How can I do?

2
2 comments
Avatar
Permanently deleted user

Yes, macros are completely unusable because it keeps running before it finishes the last command. Maybe you guys can recommend a hack like moving the mouse or something to cause an artificial delay in the meantime, until the final solution is ready.

3

Please sign in to leave a comment.