View Single Post
FWIW the middle step alone, saved as an .app, works and activates ical with the following:

Code:
on run {input, parameters}
	tell application "OmniFocus"
		activate
		tell default document
			
		end tell
	end tell
	tell application "iCal" 
                activate
	 	view calendar at current date
	end tell
	return input
end run
The problem seems to have something to do with the preceding Confirmation action holding up the flow. (You can add the following confirmation action without a problem).

The console.log acquired entries reading:
"12/02/2008 19:11:26 com.apple.SystemStarter[18] Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_C OREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug. "

Using "Activate" with an automator .app does not seem inherently problematic, but there appears to be a problem with transferring control (within an .app) from the preceding action.

Worth reporting to Omni I think. For the moment you may need to forgo the preceding Confirmation Action and make do with a following one.

Last edited by RobTrew; 2008-02-12 at 10:18 AM..