illustrator cs file converstion

Hi,
I have a script that allows me to open old Freehand files (which we can’t use) and convert them to eps files (which we can use). (we have zillions)
When it gets to a color file, Illustrator asks if it should be opened as a CMYK or an RGB. How would I modify the script to tell it to pick RGB?
As the question indicates, I’m sort of flying blind here, using a cobbled-together script that I don’t really understand. So any help at all would be appreciated.
Here is the script:

-- Processes all files in folders dropped on this script
-- (when saved as an applet) and save each Illustrator file as a eps file
on run
	tell me to open {choose folder}
end run
on open droppedItems
	set destinationFolder to choose folder with prompt "Destination folder?"
	repeat with anItem in droppedItems
		tell application "Finder"
			-- Make sure each item processed by this script is a folder
			if class of item anItem is not folder then
				-- Not a folder, notify the user of the error
				display dialog "Please drop only folders on this script"
			else
				-- It is a folder, so get the Illustrator files in it and process them
				set fileList to ¬
					(every file of anItem) as alias list
			end if
		end tell
		-- See eps save options section for isolated example of this handler
		SaveFilesAsEPS(fileList, destinationFolder)
	end repeat
end open
-- fileList is a list of aliases to Illustrator files
-- destinationFolder is an alias to a folder where the eps files are to be saved
on SaveFilesAsEPS(fileList, destinationFolder)
	set destinationPath to destinationFolder as string
	repeat with aFile in fileList
		tell application "Finder" to set fileName to name of aFile
		set newFilePath to destinationPath & fileName & ".eps"
		tell application "Illustrator CS"
			open aFile
			save current document in file newFilePath as eps ¬
				with options {class:EPS save options, compatibility:Illustrator 11, preview:color Macintosh, include document thumbnails:false, embed all fonts:false, CMYK PostScript:false, PostScript:level 2}
			close current document saving no
		end tell
	end repeat
end SaveFilesAsEPS

fmiller4,

Have you tried using the following open command…

open aFile forcing RGB

Toby

Hi fmiller

Try setting the color space of document 1 to RGB

check out illustrator scripting guide for more info on this!