vote up -3 vote down star

Due to my reluctance to purchase Windows 7 I keep getting popups telling me that I might be the victim of software counterfitting. I think I'll stick to that story. The only problem is that the popups keep stealing focus of other windows, particularly annoying if it's full screen.

Is there anything I can do to stop this. You can use TweakUI for XP but it wont work for windows 7.

Any suggestions, except buying the thing.

flag
What's subjective about this question? – Ben Shelock Jan 6 at 14:30
2  
It's good enough to run your computer, but not good enough to buy? – Ben M Jan 6 at 16:59

closed as subjective and argumentative by Diago Jan 6 at 14:25

It's impossible to objectively answer this question; questions of this type are too open ended and usually lead to confrontation and argument.

2 Answers

vote up 6 vote down check

Buy the bloody thing, it's not expensive, and the full version is slightly better than the betas. Now that's out of the way, my favourite tool, Autohotkey, can do this:

While, 1
{
 WinWait, [Title Of Window Here, or Window Class]
 WinClose
}

That script should auto-close the window. Won't stop it taking focus for a moment, but it should catch it very quickly. I don't believe it's possible to stop windows from taking focus when they open, and if it is, it would probably break much application functionality. Better to find a solution to this particular dialogue (like buying windows 7 :P)

link|flag
1  
Buying software makes me feel dirty. But thank you, I'll give it a go. – Ben Shelock Jan 6 at 14:31
3  
Well, I can honestly say Win7 is worth every penny :) – Phoshi Jan 6 at 14:33
What's the performance like of this? Does autoit spin away cpu cycles in while(true) loops? – BlueNovember Mar 6 at 12:28
@BlueNovember; It would, but "WinWait" literally waits - pauses the whole thread - so there's no performance hit from this particular script. A regular While, 1, would start to eat up CPU, however. – Phoshi Mar 6 at 12:43
vote up 1 vote down

You're asking for help to prevent anti-piracy measures. Sorry, but I don't think anyone is going to provide this for you here.

link|flag
At least not in this specific case. However, in the more general case it'd be nice to know how to stop application focus stealing. Several times a day, while typing along, some app will popup and steal focus. Sometimes it means someone gets an IM of what I was trying to code in Netbeans. Sometimes it means I just answered some dialog with who knows what command. VERY irritating! – Brian Knoblauch Jan 6 at 14:17
It's not piracy, it's the beta version. Which was free. – Ben Shelock Jan 6 at 14:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.