Keystroke in Illustrator every 5 seconds for an hour?

Hi there, Im really really not a developer… Im a Graphic/Web Designer, so html/css is about as far as I go on the code side.

Im converting a load of files in Illustrator via a batch process and it pops up with an error every 5 seconds or so… but its not really an error I need to worry about.

So I was wondering if there was a way of saying

application "illustrator?" 
keystroke return (every 5 seconds for an hour)

Forgive my ignorance, but I would like to sleep some time this month! :slight_smile:

Thanks in advance.

maybe this…

tell application "Illustrator" to activate
repeat 720 times  --720 times is an hour with the delay of 5 seconds
	tell application "System Events"
		keystroke return
		delay 5
	end tell
end repeat


Browser: Safari 525.27.1
Operating System: Mac OS X (10.5)

I would prefer to remove the cause of the error :wink:

If you problem is coming from the open command then use the parameter without dialogs (default is with/true).

tell application "Adobe Illustrator"
	open The_File without dialogs
end tell