I am trying to run the following script:
set theItemDelimiter to tab
put “/Users/test/Documents/Yeti.suite/data/en_add_dialog.txt” into the_text
Click “buttons/btn_add”
try
Click Text:(item 2 of line 58 of the_text), SearchType: Tolerant, TextSize:“10.5”,TextBackgroundColor:"(160,160,160)", Tolerance:70
catch foo
logerror foo
end catch
The script fails on the Click Text line with the following error:
Mon, 10/13/08 4:12:54 PM logerror Runtime Error at line 8: Error Running Script Command - click Error - Image Property List did not contain “ImageName” property
Can anyone point me in the right direction as to what is wrong?
TIA,
Steve O’Sullivan