
using terms from application "Retrobatch"
	
	(*
	The processStart handler is called when your workflow has started running
	*)
	on processStart()
		
	end processStart
	
	(* 
	The processAsset handler is called for each image asset that passes through this AppleScript node
	You can return a boolean value that says wether or not this asset should continue on through the next node(s)
	*)
	on processAsset(anAsset)
		
		-- filter out non-rgb images.
		if color model of anAsset is not "RGB" then
			return false
		end if
		
		return true
		
	end processAsset
	
	
	(* 
	processEnd is called when your workflow is about to end
	*)
	on processEnd()
		
	end processEnd
	
end using terms from