stevecasper Posted May 23, 2009 Report Share Posted May 23, 2009 Hey all. I am curious how many people use a "Clipboard Copy snippet," or any series of commands in conjunction with Clipboard Copy in order to guarantee that the clipboard is acquiring information before the macro moves on. I know that this has been discussed a little bit in the past, but I am considering making a formal feature request for a Clipboard Copy option keeping the macro from moving on until the clipboard <> "". In case anybody is wondering, and in case somebody has a smoother way of doing this, here is my simple snippet: Clipboard Copy Repeat Until %Forever% Does not Equal "%Forever%" If Clipboard Equals "" Delay: .05 seconds Else Repeat Exit End If End Repeat And here is my complex snippet (for those applications that are highly irregular in their timing): Clipboard Copy Repeat Start (Repeat 10 times) // Storing counter in %N% If Clipboard Equals "" Delay: .05 seconds Else Repeat Exit End If If Variable %N% Equals "10" Repeat Start (Repeat 10 times) Clipboard Copy If Clipboard Equals "" Delay: .05 seconds Else Repeat Exit End If End Repeat End If End Repeat So far I haven't had to build a third tier of "If clipboard is still empty..." Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.