Well, maybe someone else can get this working better, but I have a rule set that will Load Remote Content when you click on Apply Rules and are seeing the email in the Preview window. Of course that kind of defeats the purpose a bit, but I used the program Mouse Position Menu to click on an area of the screen where the button is located. Here is the script info.
set x to 1830
set y to 118
set l to 1
do shell script "
/usr/bin/python <<END
import sys
import time
from Quartz.CoreGraphics import *
def mouseEvent(type, posx, posy):
theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)
CGEventPost(kCGHIDEventTap, theEvent)
def mousemove(posx,posy):
mouseEvent(kCGEventMouseMoved, posx,posy);
def mouseclick(posx,posy):
mouseEvent(kCGEventLeftMouseDown, posx,posy);
mouseEvent(kCGEventLeftMouseUp, posx,posy);
ourEvent = CGEventCreate(None);
currentpos=CGEventGetLocation(ourEvent); # Save current mouse position
for x in range(0, " & l & "):
mouseclick(" & x & "," & y & ");
mousemove(int(currentpos.x),int(currentpos.y)); # Restore mouse position
END"
My screen is a 21.5" running at the native 1920x1080 resolution. So my coordinates were 1830,118 and I plugged them in to the AppleScript above.
Here is the link to the original click thread with the credit of who came up with the above scripting info.
http://discussions.apple.com/thread/3708948