if the clipboard contains an image then - ?

Hi - How can I detect if an image is on the clipboard? I need something like…

if (the clipboard) contains image then
– do stuff here
end if

Thanks - Tom

Operating System: Mac OS X (10.5)

Hi,

try this


set clipRec to the clipboard as record
try
	get picture of clipRec
	-- do stuff here
end try

Hi, It works like a charm. :smiley:
Thank you very much, Stefan!

Tom

Operating System: Mac OS X (10.5)