jlaindy Posted January 27, 2010 Report Share Posted January 27, 2010 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 Quote Link to comment Share on other sites More sharing options...
rberq Posted January 27, 2010 Report Share Posted January 27, 2010 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. Quote Link to comment Share on other sites More sharing options...
jlaindy Posted January 29, 2010 Author Report Share Posted January 29, 2010 Thanks Bob. I don't think I have ever used a Keystroke Speed command before, just delays and various waits. This should be very helpful. Jim Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.