Store Script command broken?

Trying to load a script, set a property and then save it.The store script command does this:

store script recEvent in pathToFile with replacing
--[AppDelegate applicationWillFinishLaunching:]: Can’t make «script» into type script. (error -1700)

Is this a bug? If so, is there a way to work around this?

I don’t think store script has ever worked in ASObjC-based apps. You could probably (and laboriously) work around it with OSAScript, but if you’re just storing data you’d be better off moving away from script objects and using property lists.

I was afraid of that. Thanks.