Not sure if this would be considered as a bug, but I am finding that scripts that attempt to process information from the clipboard (in my case - highlighting a page of around 629 lines and processing each line in a while loop to check for certain elements and add matching lines to a window) seem to lose access to the clipboard briefly..
I put an echo before an after a while loop that checked if a word matched the 2nd token in each clipboard line, adding each matching line to a new window, and the echos before and after posted the starting variable (%a = 1) and the total number of lines in the clipboard ( $cb(0) ).. I got the following response:
before loop - while 1 <= 629
after loop with 173 <=
checking the clipboard afterward and it reports 629 lines still there, and I can read individual lines still.
I have since created a custom identifier to throw the contents of the clipboard into a window and the script then refers to that window instead of the clipboard, and this not only seems to resolve the issue but makes the script run a lot faster. Is it possible for mIRC to either work better with the clipboard or at grab its contents as a whole more easily for scripts to process?
Windows 7 H.P. - Mirc 7.15 - 4GB ram, 3ghz quad - 64bit OS