How do I control GraphicConverter in case of errors?

Hi there,

Does anyone know, how to handle error messages from GraphicConverters with a script?
For example, I try to open a File with a strange color-profile and get while opening the message “Input profiile is operating on wrong colorspace”. There´s only a “OK”-Button, after clicking it, the file opens.

If I try:

tell application "GraphicConverter"
	ignoring application responses
		open file Path_to_File
	end ignoring		
end tell

. nothing happens. I always get the message “Input profiile is operating on wrong colorspace”.
Is there a way to cancel after the message opens (maybe automate the clicking of ok) and give back an error code to the script?

Thanks a lot in advance,

Florian

already got the solution: silentopen instead of open.