HyperCard: Script to Check for Picture (7/92)

This function tells you if there is a picture on the current card or
background, depending on editBkgnd.

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.
Published Date: Feb 19, 2012