AppleScript: 3.0 Pro: NSCannotCreateScriptCommandError

Leif Smith leif at pattern.com
Thu Apr 17 10:17:02 PDT 2003


This script worked prior to 3.0.

Can anyone see what's wrong?

tell front document
	make new shape at the end of graphics with properties {origin:{4, 4}, 
thickness:1, size:{90, 90}, text:"I am a Shape", draws shadow:0, 
fill:radial fill, gradient center:{-1, -1}, fill color:{63000, 0, 0}, 
gradient color:{0, 50000, 50000}, text placement:bottom}
end tell

It passes "Check Syntax" but produces the following error message when 
run:

NSCannotCreateScriptCommandError

Thanks ...




More information about the OmniGraffle-Users mailing list