So will this fail the same way as LocaleSearch when certain nameless beasts are running at the same time?Kilmatead wrote:Yeah, it's always the little things that can trip us up. My particular problem was coming from a Comodo Security process that kept interfering - but my personal favourite was that if the user had x2's "Daily hints" thing set to show on startup, even after that hint window was dismissed it was not actually destroyed and thus left a ghost 32770 class associated with the x2 parent window.
I figured that Nikos had done that intentionally just to mess with my head, as I could find no other practical reason behind it.
For public scripts, I try and avoid using window titles as identifiers since they'd be English OS-specific, while _WinWaitChild_32770() is language agnostic. Yes, overkill for a mere script, but robustness 'twas ever was a hard-won maiden.
Also, does the "32" in the name imply a need for a "64" version, or does this run on x32 and x64 OS's and X2 varieties?
----------------------------
PJ in (darn it's hot ) FL