Jump to content
Macro Express Forums

<Control> in Text Type fails at times


jlaindy

Recommended Posts

I have a simple macro to paste the contents of the clipboard, but with it underlined. Here is the relevant script:

 

Text Type: <CONTROL>u

Wait Text Playback

Clipboard Paste

Text Type: <CONTROL>u

Wait Text Playback

 

The problem is that at times the <Control> is lost and I simply get a u in front of the paste from the clipboard.

 

Is there a better way to structure this?

 

Thanks.

 

Jim

Link to comment
Share on other sites

FWIW, I always use the sequence <CTRLD>u<CTRLU> instead of <CONTROL>u. In other words, separate operations for pressing down the Control key and for releasing it. Either way is supposed to work, but I have found the separate operations to be more reliable on some PCs.

 

If you don't have Keystroke Speed set, try setting it to 30ms or thereabouts before typing the Control-u sequence. You might try a brief pause after typing Control-u to give the application time to digest it.

 

Make sure the window is ready to accept keystrokes. For example, if you ACTIVATE WINDOW and immediately start typing, you may be outrunning the machine. Try a half-second delay prior to typing.

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...