function hasPicture
put the tool into saveTool
put the lockScreen into saveLockScreen
lock screen
choose select tool
doMenu "Select All"
doMenu "Select"
get the tool is "lasso tool"
choose saveTool
set lockScreen to saveLockScreen
return it
end hasPicture
This article is adapted from the Claris Tech Info database.