Can anyone please tell me why selecting the first row of my mail takes a full 8 seconds on leopard, macbook pro?
tell application "System Events"
tell process "Mail"
set t to table 1 of scroll area 1 of splitter group 2 of window 1
select row 1 of t
end tell
end tell
James, How do you get the elapsed times? I’m running the script from script editor, but is there another way to run the script, say from the command line ? I’m new to Applescript.
The strange thing is that all of interactions with the UI elements are instantaneous, except the last event that tells the table area to select the first row.
Model: MBP
AppleScript: 2.0.1
Browser: Firefox 3.0.5
Operating System: Mac OS X (10.5)