It's really silly... When I'm really struggling, I imagine the Sims green diamond thingy over my head. Then I imagine double clicking on whatever I'm doing and just telling myself to do it again.
The success rate on this for me is not something I can easily explain. Visualization is a hell of a drug, I guess.