title: write applescript click OK button to pop-ups
body: <p>I'm having trouble writing an apple script that can click "OK" buttons.  I play online poker games and I have to click a few "OK" buttons to register a tournament.  I'd like to have the script to click whenever there is an "OK" button appear on screen. So when I click "register" button, a pop up says something like "are you sure you want to register in this tournament?", I click "OK", and than another popup says "You are now registered", than than I have to click "OK", than another popup says "tournament will start in a moment", another "OK" button clicked.</p>